Getting 403 and token exception while getting quotes while same token works with instrument

Chhavi
Here is the error message
I used same token to hit instruments API, it is working but not with quotes API
{
"status": "error",
"message": "Incorrect `api_key` or `access_token`.",
"data": null,
"error_type": "TokenException"
}
  • sujith
    Can you run in debug mode and paste the complete stacktrace here?
    Make sure to modify the app and client-specific tokens.
  • Chhavi
    I am hitting it on postman using my api key and access token I generated in morning
  • Chhavi
    And trying on the same API in any client is giving same issue which is 403 forbidden and the above json in the ticket description
  • sujith
    The error means your session is expired and the user has to create a new access token.
  • sujith
    The instruments dump API doesn't make authentication. It is a huge data dump to be downloaded once a day and needs to be used locally. The instruments dump is updated only once a day.
  • Chhavi
    I just created access token today in morning and as per docs this will expire after 6:00AM , right?
    And when you say dump API doesn't make authentication then also it doesn't affect any situation for ohlc api, right?
  • Chhavi
    Then also it is affecting that!
  • sujith
    You can check out this thread.
Sign In or Register to comment.