Error Codes
In case of something goes wrong, like the server did not respond, or the request body was incorrect or authentication could not happen, the Fyre server send errors response in a standard format. The error response contains three fields: message
, code
, success
, and error
. Sample error response body:
Exact error can be idenfied by Error Codes contains in the code field of error response body. Below are the list of available error codes:
S.No | Error Code | Description |
---|---|---|
1 | 4000 | You might have used wrong privateKey and appId to generate signature. |
2 | 4001 | appId that you have added in the data body does not exist in Fyre. May be you have added wrong appId. |
3 | 4003 | You have entered wrong eventId in data parameter. |
4 | 4004 | You have not created any event yet. Please create event from Fyre Admin Dashboard. |
5 | 4005 | Signature has expired.It may possible you have entered exp(signature expiry time) is greater than iat (signature issued time) or you are using same signature again. |
6 | 4006 | User that trying to participate in event does not exists in Fyre platform. |
7 | 4007 | User has not participated in any event yet. |
8 | 4008 | This error has occurred because user has clicked on the link to participate in an event but has not completed the process of participation. |
9 | 4009 | You are trying to participate in an event with invalid email Id. |
10 | 4010 | This is internal to Fyre. Please contact Fyre team. |
Last updated