Error Handling
Whenever an API is called, we will return the following response format:
{
"code":200,
"msg":"Error Msg",
"result":{}
}
If the code is 200, it indicates success; otherwise, it indicates failure. Refer to the error code list for specific errors.
Error Codes
Error Code | Error Name | Description |
---|---|---|
30001 | ParameterError | Invalid or missing request parameters |
30002 | InvalidToken | The provided token is invalid or has expired |
30003 | UnknowTaskType | Unknown task type specified |
40001 | APIKeyError | API key is missing or incorrect |
50001 | TaskCreateError | Failed to create task |
50002 | GetCreditError | Failed to retrieve user credit balance |
50003 | NoCreditLeft | Insufficient credit balance for the operation |
50004 | GetLinkedinProfileError | Failed to fetch LinkedIn profile information |
50005 | GetLinkedinCompanyError | Failed to fetch LinkedIn company information |
50006 | CompanyWebsiteParseError | Failed to parse company website content |
50007 | CompanyWebsiteHostError | Unable to access or resolve company website domain |
50008 | SearchMailError | Failed to perform email search |
70001 | InvalidAPIKey | The provided API key is invalid |