Development
Errors
Linkup API errors and how to handle them
This guide includes an overview of error codes you might see from both the API and our SDKs.
API Errors
Whatever the HTTP error code is, the response payload will contain the following object:
message
: string or string array - The list of errors.
error
: string - HTTP error message.
statusCode
: number - HTTP error code.
API Error Codes
Code | Possible Reasons |
---|---|
400 - Bad Request | Required parameter is missing, or Invalid parameter or Search query yield no result |
403 - Forbidden | API Key is missing or invalid |
429 - Too Many Requests | You have run out of credit |
500 - Internal Server Error | Something’s up on our end |
SDK Errors
Python & JS SDK Error Types
Type | Reason |
---|---|
LinkupInvalidRequestError | Required parameter is missing, or Invalid parameter |
LinkupNoResultError | Search query yield no result |
LinkupAuthenticationError | API Key is missing or invalid |
LinkupInsufficientCreditError | You have run out of credit |
LinkupUnknownError | Anything else |