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

The app i created shows as inactive. I'm using cURL. What cURL command should i give to make the status active. Using the sample code provided in the api docs...gives me a 500 internal server error. https://api.fyers.in/api/v2/generate-authcode?client_id=sample_client_id& redirect_uri=sample_redirect_uri&response_type=code&state=sample_state

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

HI Guts, 
Sorry for the trouble you are facing,

Can you please share the whole url with appropriate values, you can even share in DM directly.
Meanwhile you can try with this link once by editing your app id and redirect url.
"""https://api.fyers.in/api/v2/generate-authcode?client_id=SPXXXXE7-100&redirect_uri=https%3A%2F%2Fdev.fyers.in%2Fredirection%2Findex.html&response_type=code&state=sample_state&nonce=sample_nonce45"""


Hope this helps,
Happy Trading.