Errors#

This is a list of error codes, which can be returned by Antavo. Each error is accompanied by a link to the documentation of the associated endpoint and a simple troubleshooting suggestion.

Antavo Error

HTTP status code

Message

Documentation link

Troubleshooting advice

0

404

Not Found / Property transaction_id cannot be empty / Property <attribute> cannot be empty

Display API
Events API

1601

400

Coupon not found

Events API

Check the coupon ID and try again.

1606

400

The coupon balance is lower than the amount

Events API

5003

The transaction ID has already been used

Events API

10001

400

Action “%s” cannot be repeated

Display API

101021

401

Auth header format is invalid

Invalid authentication - please check credentials/formatting and try again

103902

Customer does not match transaction owner

Check the event’s customer and transaction ID

110003

Customer is not allowed to spend points

The customer is suspended, unsuspend and then try again

112101

400

Customer has already been opted-in.

Events API

There is already a loyalty member with this unique ID, you need to use a different ID

112201

Only accepted transactions can be refunded

Events API

112202

Amount should be a positive number

Events API

112203

Amount for refund is greater than transaction total

Events API

112204

Amount for refund is greater the purchase total of the customer

112900

Can’t unspend more (%d) than the customer current spent points (%d)

Events API

114400

Only active customers can be suspended

Check the status and ID of the customer being suspended

114600

Only suspended customers can be unsuspended

Check the status and ID of the customer being unsuspended

120030

Suspended target customers cannot be merged

Suspended customers can not be merged or linked

120031

Suspended target customers cannot be merged

Suspended customers can not be merged or linked

120211

400

Custom message set in Backoffice - Claim limit error

Display API
Rewards API

The numbers of Reward claims for a customer can be increased in the back office

120212

400

Custom message set in Backoffice - Out of stock error

Display API
Rewards API

The number of Reward claims exceeds the reward stock. This value can be increased in the Backoffice

120213

400

Custom message set in Backoffice - Segment error

Display API
Rewards API

The customer can not claim this rewards as they are not in the correct segment. Check the customer and corresponding segment

120214

400

Customer does not have enough points

Display API
Rewards API

120215

400

Custom message set in Backoffice - The Reward is currently out of stock

Display API
Rewards API

The number of claims exceeds the reward’s stock - Inactivate the reward or increase the stock value to remove this error.

120216

400

Custom message set in Backoffice - Claim within repetition limitation error

Display API
Rewards API

Try reducing the repetition rate in the rewards setting in the Backoffice

120217

400

Custom message set in Backoffice - Customer has already claimed this reward

Display API
Rewards API

120218

400

CSRF token mismatch

Display API

120220

400

Coupon pool not found

Display API

Check the id of the coupon pool used

120221

400

Coupon claim limit reached

Display API

120222

400

Cannot claim due to duplicate coupon code.

Display API

Coupon codes need to be unique for multiple claims of the same reward. Try increasing the complexity of the generated coupon or check uploaded coupon code are unique

120223

400

Coupon currency doesn’t match with customer currency

Display API

123723

400

Received malformed response from coupon provider

Display API

123724

400

Receiving coupon failed

Display API

123731

400

No unassigned coupon found

Display API

123732

400

Coupon assign failed

Display API

123741

400

No available coupon code

Display API

124931

200 / Runtime

Pending event created*

Events API

This is not strictly an error but results from the mechanism for making an event pending.

127201

200

Custom error message supplied in the Interrupted Node

The event has been interrupted in the workflow editor using an interrupt node. Check workflow logs for details

160101

400

Missing required parameter ‘action’

Events API

This is typically a misformed JSON event and/or Content-Type header has not been set to application/json.

160102

404

Customer not found

Events API

Check the customer ID and try again

160105

400

Brand is not active

Events API

Contact the Antavo Service Desk requesting that this brand is activated

160106

400

Given action is invalid

Events API

160107

400

Given customer is invalid

Events API

Check the customer ID type and value. This error is reported if the customer is not opted in and autosubscribe is disabled; if the customer is banned or if the brand is inactive.

160108

400

Duplicated customer

160109

400

Optional parameter ‘data’ should contain key-value pairs

Display API
Events API

The data object is misformed. Check for correct JSON formatting.

160111

400

Missing required parameter 'customer'

Events API

Check the JSON formatting of the event

160211

400

Empty search criteria

Customer API

No search terms are provided. Check the query and try again

160212

404

Customer not found

Customer API
Display API
Display API
Display API
Display API
Display API
Display API

Check the customer’s Antavo ID and try again.

160214

404

Customer doesn't have opt-in event

Display API

The customer has been created via an Inactive pathway.

160216

400

Customer is not active

Customer API
Display API
Display API
Display API

Set the customer’s status to active so the customer can fully interact with the loyalty program.

160217

400

Offset cannot be negative

Display API

160218

400

Limit should be greater than zero

Display API

160300

400

Invalid status filter

Display API

160301

Missing path param: {path_param}

Check the submitted API and include the required path parameter

160310

400

Invalid status filter

Coupon API

160311

400

Empty search criteria

Coupon API

160312

400

Page and limit must be larger than zero.

Coupon API

160320

404

Reward not found

Display API
Display API
Display API

Check that the Antavo Reward ID being passed is correct.

160321

400

Reward is not active

Display API
Display API
Display API

Activate the reward in the Antavo Backoffice.

160322

400

Cannot claim bidding reward via API

Display API

160323

400

Missing required parameter: points

Display API

160324

Cannot claim non bidding reward via this API endpoint

Display API

160325

400

*Exception message is displayed

Display API

160326

400

Customer does not have enough points for multiple claims

Display API

160330

400

Incorrect order type: %s

Display API

160331

400

Incorrect sortable fields: %s

Display API

160340

400

Event not found

Display API

Check the unique Event ID and try again

160341

400

Can't revoke a reward which has redeemed coupon

Display API

Unredeem corresponding coupon before retrying an Reward revoke

160342

400

Claim event does not match reward ID

Display API

160344

400

Claim event already revoked

Display API

160345

400

Reward claim not found

Display API

160346

400

Not a reward claim event

Display API

160350

403

Invalid API key

Events API

Check the API key with the credentials in the Backoffice

160360

400

Property ‘%s’ cannot be empty

Events API

160361

400

Property ‘%s’ value is a non-utf8 string

Events API

160362

400

Property ‘%s’ has an invalid value

Events API

160363

400

Sub-action ‘%s’ not found

Events API

160364

400

Property “%s” element %d should contain key-value pairs

Events API

160365

400

Action is invalid or not set

Events API

160366

Duplicated value for {field}

Duplicate data has been submitted for a customer field which has been tagged unique. Either remove the unique tag or submit different data

160401

404

Customer not Found

Display API

160412

400

Coupon %s is restricted for a limited products

Add one of the restricted products to the submitted checkout/checkout_item event or remove the coupon from the checkout event.

160415

400

Coupon doesn’t have a balance

Events API

The coupon value has not been set under coupon settings. Find instructions on how to set a value here .

160420

400

The coupon has been expired since (%s)

The claimed coupon has expired, try claiming another coupon.

160601

404

Customer not found

Rewards API

Check the customer’s Antavo ID and try again.

170101

400

lc_bidding_is_closed

Display API

170102

400

lc_not_enough_points

Display API

170103

400

lc_invalid_bid_value_label

Display API

170104

400

lc_unable_to_bid_label

Display API

171111

400

Target email or target ID is required

Events API

171112

404

Target customer not found

Events API

171121

404

Reward claim not found

Events API

171122

400

Reward is not transferable

Events API

171131

400

Can’t share this reward more than %s times

Events API

The reward transfer limit has been reached. Change the value in the Backoffice

191020

404

Tenant not found

Admin API
Admin API

191021

404

Tenant is not active

Admin API
Admin API

Activate the tenant in the store module in the Backoffice

191022

No pin given

Admin API
Admin API

191023

400

User not found or is inactive

Admin API
Admin API

Check the User ID and/or active the User

191024

400

No username given!

Admin API

Provide a username in the API request

191025

400

No password given!

Admin API

Provide a password in the API request

191026

400

Username or password is empty!

Admin API

Check Username/Password and try again

191027

400

Login failed: invalid credentials

Admin API
Admin API

Check credentials and try again.

191028

400

Api login is disabled for this user

Admin API
Admin API

Activate API login for this user in the Backoffice

210101

Transaction not found

210102

Transaction refund already exists

210103

Product does not exists within the given transaction.

210104

The given quantity is greater than the possibly refundable quantity.

210105

The quantity is cannot be 0 or less.

210106

Customer has not enough points to execute the refund.

210108

It is forbidden to refund a pending transaction.

210109

It is forbidden to refund an item which is part of a pending transaction.

210110

This transaction is not yet accepted so it cannot be refunded.

210111

This transaction is not yet accepted so it cannot be refunded.

210112

Invalid transaction status

210113

Unable to refund an unclaimed transaction

Guest checkout events can not be refunded

300110

Limit should be greater than zero

Display API

300111

Offset cannot be negative

Display API

300201

Request failed due to account mismatch.

300202

Account not defined. Please add the account property to the request or configure a default account.

300203

Request failed due to account mismatch.

300304

400

Descriptor does not exist

Entities API

300305

400

Entity ID is required parameter

Entities API

300410

Archiving of the customer list failed. Please use the delete endpoint for archiving.

Entities API

300420

Status transition is not allowed from active to archived.

Entities API

300503

Account does not have enough points

300601

Request failed, due to account mismatch

Rewards API

Ensure that this event is sent with the same account used for the previously submitted related event. Alternatively, if left empty, the account property from the previous event will be used.

300700

400

Entity type does not exist

Entities API

300701

400

Descriptor does not exist

Entities API

300703

400

Descriptor does not exist

Entities API

300704

400

Entity is not available as an API response

Entities API

300705

400

Entity is not available as an API response

Entities API

300706

400

Entity is not available as an API respons

Entities API

300707

400

Entity is not available as an API response

Entities API

300708

400

Entity not found

Entities API

300709

400

Entity not found

Entities API

310200

400 (bad request)

Customer is not linked

The customer is not linked to any other customers so they cannot be unlinked

320501

404

Reward not found

Bulk Operations API

320502

400

The ‘payload’ field is not found or empty

Bulk Operations API

320503

400

The unique batch id provided already exist

Bulk Operations API

320504

400

There is already an unfinished bulk reward claim process for the reward submitted.

Bulk Operations API

320505

400

The list of customers exceeds the size limitation of the endpoint.

Bulk Operations API

320506

400

The metadata submitted is not valid: {key}

Bulk Operations API

320510

404

Batch ID is not found

Bulk Operations API

330501

404

Customer List not found

Bulk Operations API

330502

400

The ‘payload’ field is not found or empty

330503

400

The list of customers exceeds the size limitation of the endpoint.

Bulk Operations API

330511

404

Customer List not found

Bulk Operations API

330512

400

The ‘payload’ field is not found or empty

Bulk Operations API

330513

400

The list of customers exceeds the size limitation of the endpoint.

Bulk Operations API

330521

404

Batch ID is not found

Bulk Operations API

330531

404

Batch ID is not found

Bulk Operations API

350300

400

Entity type does not exist

Entities API

350301

400

Descriptor does not exist

Entities API

350302

400

Descriptor does not exist

Entities API

350303

400

Descriptor does not exist

Entities API

911001

Transaction not found

Events API
Events API

Check that the submitted transaction Id matches the transaction awaiting approval

911004

400

Guest transaction can not have a customer.

Remove the value from the customer property.

911005

400

Transaction with customer can’t have a guest event.

Customer property needs to have a value.

* This is not strictly an error but results from the mechanism for making an event pending.