I was able successfully get access token
the access token worked for "https://api.upstox.com/v2/historical-candle/instrument_token. The access token is working for this and able to get candle data.
When i am trying to call option/chain with same access token, getting invalid token. Why is same token not working for option chain?
Below is the request
GET https://api.upstox.com/v2/option/chain?instrument_key=NSE_FO|132836
Authorization: “Bearer {{access_token}}”
Response
{
“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 same access token is working to get the historical candle data