Error handling

Requests that result in an error always have the same response syntax:

1 2 3 4 5 { "message": "<message>", "code": <code>, "status_code": 400 }

Error responses have a status code 400 and are accompanied by a declarative message. Underneath each of the available API calls, we've listed the errors you may encounter in that specific API call. However, you can also find the full list below. Hopefully the messages themselves are sufficiently clear. If you encounter an error and the error message is unclear or missing, please contact us.

Code

Message

7002
Account inactive.
55018
Loyalty Program not active.
1102
Shop not linked to a Loyalty Program.
1003
Invalid input.
55012
Member not found.
55007
Loyalty card not found.
1013
Card not registered.
1015
Max aantal credits bereikt | Maximum amount of credits reached.
6003
Reward not found.
55016
The card is already linked to a member.
55017
Member already exists.
1017
Onvoldoende punten | Insufficient credits.
1027
POS Transaction not found.
6001
The POS transaction is already linked to a credit reception.
6007
The linked template does not contain the right replacement variable.
1041
Staged Credit Reception not found.
1008
Shop not found.
1010
Kaart is niet geactiveerd. | Card is not activated.

Related