Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when update endpoint getting error #12769

Open
Zgrrl opened this issue Mar 24, 2022 · 0 comments
Open

when update endpoint getting error #12769

Zgrrl opened this issue Mar 24, 2022 · 0 comments

Comments

@Zgrrl
Copy link

Zgrrl commented Mar 24, 2022

Hi when i try to update endpoint security config like in link https://apim.docs.wso2.com/en/latest/design/endpoints/endpoint-security/basic-auth/
getting error as below. I 'm using docker image.
`
ERROR - GlobalThrowableMapper Unrecognized property 'endpointSecurity'
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "endpointSecurity" (class org.wso2.carbon.apimgt.rest.api.publisher.v1.dto.APIDTO), not marked as ignorable (50 known properties: "endpointImplementationType", "threatProtectionPolicies", "securityScheme", "monetization", "name", "businessInformation", "websubSubscriptionConfiguration", "policies", "workflowStatus", "visibility", "createdTime", "revisionId", "version", "tags", "id", "lifeCycleStatus", "enableSchemaValidation", "scopes", "isDefaultVersion", "responseCachingEnabled", "accessControlRoles", "isRevision", "authorizationHeader", "mediationPolicies", "transport", "wsdlUrl", "operations", "context", "provider", "wsdlInfo", "apiThrottlingPolicy", "advertiseInfo", "visibleTenants", "type", "revisionedApiId", "description", "subscriptionAvailableTenants", "cacheTimeout", "serviceInfo", "corsConfiguration", "subscriptionAvailability", "categories", "keyManagers", "visibleRoles", "hasThumbnail", "endpointConfig", "additionalProperties", "maxTps", "accessControl", "lastUpdatedTime"])
at [Source: (org.apache.cxf.transport.http.AbstractHTTPDestination$1); line: 1, column: 2784] (through reference chain: org.wso2.carbon.apimgt.rest.api.publisher.v1.dto.APIDTO["endpointSecurity"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:61) ~[jackson-databind-2.10.5.jar:2.10.5]
at com.fasterxml.jackson.databind.DeserializationContext.handleUnknownProperty(DeserializationContext.java:843) ~[jackson-databind-2.10.5.jar:2.10.5]
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1206) ~[jackson-databind-2.10.5.jar:2.10.5]
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1597) ~[jackson-databind-2.10.5.jar:2.10.5]
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1575) ~[jackson-databind-2.10.5.jar:2.10.5]
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:294) ~[jackson-databind-2.10.5.jar:2.10.5]
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:151) ~[jackson-databind-2.10.5.jar:2.10.5]
at com.fasterxml.jackson.databind.ObjectReader._bind(ObjectReader.java:1682) ~[jackson-databind-2.10.5.jar:2.10.5]
at com.fasterxml.jackson.databind.ObjectReader.readValue(ObjectReader.java:977) ~[jackson-databind-2.10.5.jar:2.10.5]

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant