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}]}’
The error mentioned is caused by an invalid access token in the API request. Could you assist with the curl command for the above mentioned request and the steps you follow to generate an access token?
Please note:
The access_token
obtained through this API has a specific validity period that lasts until 3:30 AM
the following day, regardless of the time it was generated. For instance, if you generate a token at 8 PM on Tuesday, it will expire at 3:30 AM on Wednesday. This also means that a token created at 2:30 AM on Wednesday will still expire at 3:30 AM on the same Wednesday.