Error Codes

Common error codes

Technical Name Error Code Message
WRONG_DATE_FORMAT 10 The date format is not correct. Please format all dates in the ‘YYYY-MM-DD HH:MM:SS’ format
WRONG_PAGE_NUMBERING 11 The page number must be a positive integer.
WRONG_PAGE_SIZE 12 The page size must be a positive integer with a maximum of 5000.
PAGINATION_OVERFLOW 13 Pagination overflow : the given page does not exist.
ILLEGAL_ARGUMENT 14 Illegal value.
NOT_FOUND 15 Not Found.
FIELD_REQUIRED 16 A required field is missing.
ILLEGAL_NUMBER_VALUE 17 Illegal value for a numeric field.
ILLEGAL_BOOLEAN_VALUE 18 Illegal value for a boolean field.
ILLEGAL_DATE_VALUE 19 Illegal value for a date field.
ILLEGAL_VALUE_JSON 20 The system can not process this value. Please make sure to use double quotes if the value is a string.
ILLEGAL_FIELD 21 Illegal element name. Please make sure that the given element is not already defined in your request or that it is an allowed element for this request.
MISSING_TAG_END 22 An end tag is missing in the request.
ILLEGAL_REQUEST_TYPE 23 This request type is not allowed for this URL. Please consult the API documentation for a list of URLs and allowed request types.
FILE_UPLOAD_FAILED 24 The file attached to this request could not be uploaded.
ILLEGAL_CONTENT 25 Illegal content:
EMPTY_REQUEST_BODY 26 The request body is empty. Your request is missing a body. Sandbox users: this can also occur when the Sandbox environment is down.

Ordering error codes

Technical Name Error Code Message
INVALID_CART_IDENTIFIER 400 The cart identifier is not valid. Please use the ‘Create cart’ or ‘List cart’ operation to retrieve a valid cart id.
NO_PRODUCT_DETECTED 401 The system could not find any product to add to your cart. Please specify the did, capacity or credit package item you would like to add to your cart.
MULTIPLE_PRODUCT_DETECTED 402 The system found more than one product to add to your cart. Please specify only one did, capacity or credit package item you would like to add to your cart.
INVALID_DIDGROUP_ID 403 The system could not find the requested didgroup. Please use the ‘List didgroup’ operation to retrieve a valid didgroup id.
UNAVAILABLE_DIDGROUP 404 This didgroup is not available for ordering. Please use the ‘List didgroup’ operation to retrieve a valid didgroup id.
INVALID_QUANTITY 405 The given quantity is not valid. Please use a strictly positive integer.
INVALID_CAPACITY_QUANTITY 406 The given quantity is not valid. Please use a strictly positive multiple of 10.
INVALID_CREDIT_PACKAGE_ID 407 The system could not find the requested credit package. Please use the ‘List credit packages’ operation to retrieve a valid credit package id.
PRODUCT_CONVERSION_ERROR 408 The system could not convert your request into products to order, no order has been placed. Please try again and contact your account manager if the problem persists.
PRODUCT_VALIDATION_ERROR 409 The system could not validate your order, no order has been placed. Please try again and contact your account manager if the problem persists.
INVALID_PRODUCT_ID 410 The system could not find the requested product in your cart. Please use the ‘List carts’ operation to retrieve a valid product id.
INVALID_REMOVE_QUANTITY 411 The given quantity is not valid. Please use a strictly positive integer.
INVALID_REMOVE_CAPACITY_QUANTITY 412 The given quantity is not valid. Please use a strictly positive multiple of 10.
INVALID_REMOVE_QUANTITY_TOO_BIG 413 The given quantity is bigger than the quantity currently in your cart.
INVALID_DID_ID 414 The requested did does not exist or is not owned by the user.
UNEXPECTED_CANCEL_ERROR 415 An unexpected error occurred during the execution of the cancellation. Please contact the voxbone support team.
CUSTOMER_REFERENCE_TOO_LONG 416 The customer reference is longer than the 255 characters limit.
INVALID_DATE_FORMAT 417 The date format is not valid
TEST_DID_NOT_CANCELLABLE 418 Dids that have been assigned to you in test cannot be cancelled using this operation. Please contact your account manager to cancel test dids.