When an API request return status as "error", the error_details response attribute provides a 4-digit error code, followed by an error message. A full list of all possible API error codes is shown below.
Error code | Error_details |
---|---|
1000 | 1000 = Request url was badly formed |
1001 | 1001 = Request is missing a mandatory parameter |
1002 | 1002 = Request contains a bad parameter value |
1003 | 1003 = Referenced request_id does not exist |
1005 | 1005 = Request was not recognized |
1006 | 1006 = Request is outside sandbox test data |
1007 | 1007 = Request was not sent with https |
1010 | 1010 = The requested aggregate analysis is still in progress |
1011 | 1011 = The requested aggregate analysis has failed |
1012 | 1012 = Referenced request_id is not for an aggregate analysis |
1013 | 1013 = Referenced request_id has no next page |
1014 | 1014 = Max page size (5000) exceeded in individual profiles list |
1015 | 1015 = The criteria specified in a tailored analysis were too restrictive |
1016 | 1016 = None of the users in an individual profiles request had been profiled |
1017 | 1017 = The specified account in a tailored analysis request was too small to analyze |
1018 | 1018 = The specified account has too few followers to run a look-alike influence search |
1019 | 1019 = The specified accounts have too few followers to run a look-alike influence search |
1020 | 1020 = The specified keyword didn't generate enough matches for an influence search |
1021 | 1021 = No results were found for the specified Influence search |
1022 | 1022 = Unable to retrieve a standard analysis via the get tailored analysis call |
1023 | 1023 = Unable to retrieve a standard analysis via the get audience reach analysis call |
1024 | 1024 = The API account is not enabled to make the type of request being attempted |
1025 | 1025 = The requested account had too few active followers to analyze |
2000 | 2000 = Twitter communication problem |
2001 | 2001 = Unable to process request because the target account was protected/private |
2002 | 2002 = Unable to process request because the target account has been suspended |
2003 | 2003 = Unable to process request because the target account does not exist |
5001 | 5001 = User not authorized to access the target of this request |
5002 | 5001 = The client has been temporarily rate limited. |
6000 | 6000 = Unexpected failure generating analysis |
9000 | 9000 = Unexpected application error |
9001 | 9001 = Unexpected data error |