How to resolve this 422 error? Though I'm passing the values, it still gives this response.

{ "status": 422, "errors": [ { "internalMessage": "Apigee - Unprocessable Entity.", "userMessage": "Both request header Access-Token and vdsId attributes are required.", "time": "1553020413387" } ] }

0 2 2,436
2 REPLIES 2

Not applicable

Can you check in the trace the values of your these variables, whether these are available or not ?

Looking at the JSON error response you shared, it seems that your target/back-end server has responded this error, it does not look like apigee's error response. Check if the JSON/XML body/payload that you're sending for this API is well-formed/valid.