Fyre
  • Fyre
    • How Does It Work?
    • Key Features
    • Who uses Fyre?
  • Admin Dashboard
    • Login
    • Events
      • Create An Event
      • Configurations
        • General Configurations
        • Referral Configurations
        • Prize Configurations
        • KYC Configurations
        • Custom Input Configurations
        • Social Configurations
          • Twitter Follow
          • Twitter Retweet
          • Telegram Join
          • Discord Join
          • GitHub PR
        • Collect Wallet Configurations
        • Tokens or NFT Holding Configurations
        • Custom Smart Contract Configurations
        • Custom API Configurations
      • Edit An Event
        • Add a new task
        • Remove a task
        • Edit existing task
      • Clone An Event
      • Delete an Event
    • Participants Data
    • Settings
      • Teams
      • Org
      • Apps
      • Subscriptions
    • Reward Distribution
  • Participant
    • Campaign Landing page
    • How to Participate
    • Claiming Rewards
  • Developer
    • App Setting
      • Registration
      • Update
      • Authentication
    • APIs
      • /app/events
      • /app/user/events
      • /app/user/redirection
      • Error Codes
      • Event Action Types
    • Demo
Powered by GitBook
On this page

Was this helpful?

  1. Developer
  2. APIs

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:

{
  message: 'The user has not participated in the events yet',
  code: 4007,
  success: false,
  error: true
}

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.

Previous/app/user/redirectionNextEvent Action Types

Last updated 2 years ago

Was this helpful?