Errors

Learn more about common errors and how to address them

POAP uses conventional HTTP response codes to indicate the success or failure of an API request. Below are a few common errors.

Our libraries raise exceptions for many reasons, such as a failed transaction, invalid parameters, authentication errors, and network unavailability. We recommend writing code that gracefully handles all possible API exceptions.


SECRET_CODE_MISSING

Secret codes are missing.

400 LIMIT_EXCEEDED

Total number of POAPs available to mint have been minted. There are no additional POAP mints available for the delivery method of using Secret word or Website.

400 INVALID_SECRET

The Secret word provided to mint this POAP is not valid. Please contact the issuer.

400 INVALID_SECRET_CODE

The Secret code provided to access is invalid.

400 INVALID_PASSPHRASE

The passphrase provided to access the API is invalid. Please provide a valid passphrase to access the API. Unknown parameter, please check the information you are sending, and review the documentation.

400 SNAPSHOT_BAD_REQUEST

Bad request response from snapshot service. Unknown parameter, please check the information you are sending, and review the documentation.

400 EDITION_EXPIRED

Editing window for this resource has been closed and, as a result, this resource cannot be edited.

400 EVENT_EXPIRED

Event timeframe has expired.

400 EVENT_EDIT_BAD_REQUEST

Request did not process and was malformed when editing an event.

401 INVALID_CREDENTIALS

The credentials provided to access are either incorrect or invalid. Please provide valid credentials to access the API.

401 UNAUTHORIZED

Unauthorized user; you currently do not have authorization to access this. These are related to your permissions on Auth0. Permissions may vary based on what you are trying to access vs. the permission setup on your access level.

401 ERROR

This could be because you don’t have headers or because you are using invalid or incorrect tokens. Please check to ensure you have included headers correctly and that you are using valid tokens.

403 FORBIDDEN

User does not have authorization to access the resource. These are related to your permissions on Auth0. Permissions may vary based on what you are trying to access vs. the permission setup on your access level.

404 THEGRAPH_INTERNAL_SERVER_ERROR

This is an internal server error, or mishandled response from The Graph service.

404 SNAPSHOT_NOT_FOUND

We did not find a Snapshot response. Unknown parameter, please check the information you are sending, and review the documentation.

404 NOT_FOUND

Resource you are looking for can’t be found or is invalid. Unknown parameter, please check the information you are sending, and review the documentation.

404 EVENT_NOT_FOUND

The event number you provided doesn’t exist or is invalid. Please provide a correct event number.

500 SNAPSHOT_INTERNAL_SERVER_ERROR

Internal service error, or mishandled response from Snapshot service.

500 ERROR

API is down. If you receive this error, please send it to [email protected] so we can check this on our end. Our team needs to identify the root cause and troubleshoot.


Did this page help you?