Where I can see list of error codes returned through the API.

Hi Fyers Members,

I am just implementing error handing in my code, and I want to check all the possible failure response codes. I’ve gone through the API documentation but haven’t found anything there.

I want to know all the possible values of “code” attribute as highlighted in above image.

Please help me with this.

Thank you.

Refer : https://myapi.fyers.in/docsv3#tag/Request-and-Response-Structure/paths/~1pet~1%7BpetId%7D/get

Hi @nsuyash11-m18,

I can see the HTTP Codes but I am using nodejs lib for implementation and I am getting -16, -96, -201, -202, -204, -159. I need this list of negative values.

Where I can find this ?

Unfortunately, their documentation is inadequate and does not cover all of the error codes they return in their SDKs.
@communications_team @naresh_janagama please check.

Thank you @nsuyash11-m18 for helping.
@communications_team @naresh_janagama , Can you please help me send all the possible values with a description if possible meanwhile the documentation is updated or is this documented at any other place?

@rahul_jadav and @nsuyash11-m18 sorry for the inconvenience.

Team is checking this and will get back to you for more details.

cc: @naresh_janagama @WWhYB2qrsx

Thanks @pranav_khambayatkar for the quick acknowledgement.

Hi @rahul_jadav & @nsuyash11-m18

Sorry for the inconvenience.

All necessary error codes/values will be updated. Thanks for highlighting.

@rahul_jadav please DM your client ID for further communication.

Regards

Hi @naresh_janagama ,

Sorry for the delayed reply.

This is my Client ID : XJ02102

Thank you.

Thank you @pranav_khambayatkar for your Acknowledgement.

Hi @rahul_jadav & @nsuyash11-m18,
As requested, we have updated all possible error codes in the API Docs: API - FYERS
Please review and confirm if anything is missing.

Happy trading!

Hi @naresh_janagama ,

I can see the common API error codes now.

Thank you so much for this.