Error Codes

Error code Cause of error
NO_SIGNATURE The required signature in header X-Mplus-Signature is not present.
INVALID_SIGNATURE The signature in header X-Mplus-Signature is invalid.
Check your implementation of HMAC
INVALID_JSON The JSON in the body is invalid JSON.
NO_SUBSCRIPTION_ID The header X-Mplus-Subscription-Id is not present.
INVALID_SUBSCRIPTION_ID The subscription ID in header X-Mplus-Subscription-Id is invalid.
NO_CONTENT_TYPE The header Content-Type is not present.
INVALID_CONTENT_TYPE The content type in header Content-Type is not one of the supported content

NO_EVENT_DETAILS An expected object containing event details was not included with the request. E.g. the scanCode event call did not contain the scanCode object.
NO_SCANNED_CODE The scanCode object did not contain a scannedCode.
LINE_ALREADY_HAS_DISCOUNT The line you are trying to apply a discount to already has a discount.
INVALID_LINE_ID You are trying to change or delete a line that does not exist in the session.
LINE_ID_ALREADY_EXISTS The line you are trying to added has an ID that already exists in the session.
INVALID_RELATION_NUMBER The relation number you are trying to select does not exist in the administration.
INVALID_ARTICLE The article you are trying to select does not exist in the administration.
INVALID_DISCOUNT_PERCENTAGE The discount percentage you are trying to apply is not valid.
INVALID_RECEIPT_FOOTER_CODE The code you are trying to add to the receipt footer is not valid. E.g. there are incompatible characters for the selected code type.
INVALID_RECEIPT_FOOTER_CODE_TYPE The type of the code you are trying to add to the receipt footer is not valid. The currently supported types are code128 (default) and qrcode.