Linkup API errors and how to handle them
statusCode
: number - HTTP error code.
error
: object - Linkup error details containing:
code
: string - Error namemessage
: string - Description of the errordetails
: array - Details of the error. This array may be empty or include objects with the following properties:
field
: string - The field that caused the errormessage
: string - A description of the field errorCode | Possible Reasons |
---|---|
400 - Bad Request | Required parameter is missing, or Invalid parameter or Search query yield no result |
401 - Unauthorized | API Key is missing or invalid |
403 - Forbidden | API key does not have permission to access this resource |
409 - Conflict | Resource conflict (e.g., duplicate entry or conflicting request) |
429 - Too Many Requests | You have run out of credit or you are sending too many concurrent requests |
500 - Internal Server Error | Something’s up on our end |
Type | Reason |
---|---|
LinkupInvalidRequestError | Required parameter is missing, or invalid parameter |
LinkupNoResultError | Search query yield no result |
LinkupAuthenticationError | API Key is missing, invalid or you do not have permission to access this ressource |
LinkupInsufficientCreditError | You have run out of credit |
LinkupTooManyRequestsError | You are sending too many concurrent requests |
LinkupUnknownError | Anything else |