Any help is appreciated with the following error. Error is thrown just after creating access_token when tried to get the margins.
HTTP response body: b’{“status”:“error”,“errors”:[{“errorCode”:“UDAPI100050”,“message”:“Invalid token used to access API”,“propertyPath”:null,“invalidValue”:null,“error_code”:“UDAPI100050”,“property_path”:null,“invalid_value”:null}]}’
@Srinivasa_Rao_T Could you please try the same process using Postman and share the error message you encounter? Additionally, share the cURL request with us for further investigation.
Please ensure that you remove any sensitive information, such as your API key and secret, before sharing the cURL request.
You can also cross-check your code with the sample code available here: Sample Code.