API login error

shows 503 Service Temporarily Unavailable on api login

Share the code snippet with us.

Link : https://api.fyers.in/api/v3/generate-authcode?client_id=H7CV8QZL7C-100&redirect_uri=https://www.google.com/&response_type=code&state=xyz123

Client id is app id : H7CV8QZL7C-100

I have used dummy redirect url : https://www.google.com/

The error showing on this url is “503 Service Temporarily Unavailable”

Hey @112035229038927850654 ,

Please use the URL provided in the documentation and you will be able to proceed further with the login without any issues :
https://myapi.fyers.in/docsv3#tag/Authentication-and-Login-Flow-User-Apps/paths/~1Authentication%20&%20Login%20Flow%20-%20User%20Apps/post

Use this redirect_uri = “https://trade.fyers.in/api-login/redirect-uri/index.html”