Bij het gebruik van de API kunnen er foutmeldingen optreden. Alle foutmeldingen hebben ook een HTTP-statuscode die afwijkt van 200 (succes).
Deze HTTP-statuscode kunt u gebruiken om fouten af te vangen.
Vermijd mislukte berichten opnieuw te proberen. Implementeer retry-logica op tijdelijke fouten in uw client,
maar probeer het niet opnieuw bij functionele fouten. We raden u ten zeerste aan om te loggen wat uw app aan het doen is.
Gebruik de activiteits- en foutlogboeken om uw app-activiteiten, fouten enz. te controleren. Hoeveel verzoeken wordt door
mijn app gegenereerd? Heb ik fouten?
| Statuscode | Status | Message |
| 300 | UNKNOWN_REQUEST_TYPE | The request type could not be found. |
| 301 | UNKNOWN_LICENSE_NAME | Unkown license name specified. |
| 302 | LICENSE_REVOKED | License has been revoked. |
| 303 | LICENSE_ID_MISMATCH | License ID mismatch. |
| 304 | WRONG_PASSWORD | Wrong password specified. |
| 305 | UNKNOWN_APPLICATION | Unknown application name specified. |
| 306 | INVALID_DATETIME_VALUE | Invalid datetime value. |
| 307 | UNKNOWN_COMPANY_ID | Unknown company ID. |
| 308 | UNKNOWN_CONTACT_PERSON_ID | Unknown contact person ID. |
| 309 | UNKNOWN_SELECTION_ID | Unknown selection ID. |
| 310 | INSUFFICIENT_CREDITS | Insufficient credits. Contact https://shop.datacollectief.nl/ for new credits. |
| 311 | EXCEEDED_LIMIT_DAY | You have exceeded the limit of requests per day. |
| 312 | EXCEEDED_LIMIT_HOUR | You have exceeded the limit of requests per hour. |
| 313 | EXCEEDED_LIMIT_IP | You have exceeded the limit of bad requests for this IP address, contact support@datacollectief.nl for more information. |
| 314 | DATABASE_TIMEOUT | A database timeout has occurred. |
| 315 | COMPANY_MUTATION_REFUSED | A mutation may only be offered when a company is in possession. |
| 316 | CONTACT_MUTATION_REFUSED | A mutation may only be offered when a contactperson is in possession. |
| 317 | COMPANY_INACTIVE | Company is inactive. |
| 318 | CONTACT_INACTIVE | Contact is inactive. |
| 319 | LICENSE_NOT_ALLOWED | License is not allowed to register new accounts. |
| 320 | UNKNOWN_LICENSE_CODE | Unkown license code specified. |
| 321 | FULLTEXT_TOO_MANY_SEARCHRESULTS | Too many search results. Try refining the search. |
| 322 | COMPANY_LABEL_NOT_FOUND | Unknow labelname specified. |
| 323 | COMPANY_LABEL_LENGTH | Company label length is invalid, the length must be between 2 and 100 characters. |
| 324 | COMPANY_LABEL_EXISTS | Company label name already exists, create a new label name. |
| 325 | IP_ADDRESS_REFUSED | IP-address is refused. |
| 326 | IP_ADDRESS_MISMATCH | IP-address is mismatch. |
| 327 | EXCEEDED_LIMIT_LABEL | You have exceeded the limit of labels. |
| 328 | EXCEEDED_LIMIT_IDS | You have exceeded the limit of ids. |
| 329 | COMPANY_LABEL_NOT_FOUND | Unknow labelname specified. |
| 404 | NOT_FOUND | No HTTP resource was found that matches the request URL, validate whether a parameter name or action name is misspelled. |
| 500 | SERVER_ERROR | A server error has occurred. |