Skip to main content
Question
FYERS API
Asked a question 10 months ago

Unable to generate access token using official postman collection, getting error "Please provide valid code verifier" even tried with different python examples, but still getting same error.

Join FYERS Community to pick others' brains on Trading/Investing

Hi Yogesh,
I'll attach the screenshots of the OAuth2 - Auth flow,
 

1) Add the necessary details
1) Add the necessary details
2) After adding the necessary details, copy the GET url and paste into browser
2) After adding the necessary details, copy the GET url and paste into browser
3) hit enter after pasting url, you will get the auth code
3) hit enter after pasting url, you will get the auth code
4) Add your App ID and Secret ID in the form appId:secretId and get your hash
4) Add your App ID and Secret ID in the form appId:secretId and get your hash
5) Add your SHA256 hash in "appIdHash" field and auth code in "code" field. Hit send and you will get your access token
5) Add your SHA256 hash in "appIdHash" field and auth code in "code" field. Hit send and you will get your access token
for your reference, OAuth2- Auth flow is the above
for your reference, OAuth2- Auth flow is the above





 

@Vikram Sri22 Here is the screenshot of OAuth2.

Unable to generate access token using official postman collection, getting error "Please provide valid code verifier" even tried with different python examples, but still getting same error.