Skip to main content

i dont know when i try to create the access token in the sandbox i get 401 response invalid client .any one help me

Hello,

You need to ensure you are sending the “Ocp-Apim-Subscription-Key” header. Also please note that you need to be sure you are sending the right subscription key for the right product e.g collection or disbursement based on the API being called. 

Lastly verify that you are passing the “Authorization” header with details “Authorization: Basic ResultOfBase64Encode(ApiUser:ApiKey)”


Reply