Unable to get the auth_code

Hello,

I am trying the get the auth_code by using this endpoint “https://api.fyers.in/api/v2/generate-authcode?client_id=sample_client_id& redirect_uri=sample_redirect_uri&response_type=code&state=sample_state”

But it throws me a 500 internal server error please help in this.

Note: I provided all required query parameter like client id and redirect_uri

Hi Sir,
Sorry for the issue you faced,

https://api.fyers.in/api/v2/generate-authcode?client_id=DS0XXXXXXX-100&redirect_uri=https://XXXXXXXXXXXcuXXXXXXXuth-1.amazonaws.com&response_type=code&state=sample_state&nonce=sample_nonce

Please try with this link once to generate the auth-code and I hope everything will work fine.
Please note morning there was an issue and it was fixed soon.

Please reply on same if any further issue exists.

Hope this helps,
Happy Trading.

i Have tried with "https://api.fyers.in/api/v3/generate-authcode?client_id=4BTxxxxxx8-100&redirect_uri=https://127.0.0.1&response_type=code&state=sample_state&nonce=sample_nonce
i am getting 503 Service Temporarily Unavailable . is this really service not available or something i need to correct it