List of custom error codes returned by the Luckycycle® API
| Code | Message | Description |
|---|---|---|
| 600 | bad_api_key | An invalid API Key was sent in the header of the "poke". |
| 610 | bad_signature | For the Javascript integration, the security signature does not match the expected token. |
| 620 | bad_origin | The URL from which the "poke" was made has not been white-listed in the operation backend. |
| 621 | bad_referer | The URL from which the "poke" was made has not been white-listed in the operation backend. |
| 630 | ip_not_authorized | The IP from which the "poke" was made has not been white-listed in the operation backend. |
| 640 | operation_archived | The operation has been archived from the backend. |
| 700 | operation_closed | The operation has been closed from the backend. |
| 701 | operation_paused | The operation has been temporarely paused and wont accept new "pokes" for the time being. |
| 705 | no_operation | The given operation ID does not exist. |
| 710 | too_early | The operation has not yet begin (start date set to later in the backend). |
| 711 | too_late | The operation has ended (end date set to earlier in the backend). |
| 712 | time_between_2_pokes | The minimum time between two pokes by the same user has not yet been reached. |
| 715 | draw_too_late | The grace period for late player has ended (end date set to earlier in the backend). |
| 720 | pp_user | The limit of maximum particpation per user has been reached. |
| 730 | amount_not_positive | The value of the basket (item_value variable) must be a float value higher than zero. |
| 731 | amount_too_low | The value of the basket is lower than the minimum amount set in the backend. |
| 732 | amount_too_high | The value of the basket is higher than the maximum amount set in the backend. |
| 733 | no_item_eligible | In a campaign targeting a selection of product, no item in the cart is eligible to play. |
| 740 | budget_reached | The maximum budget for the campaign has been reached. |
| 741 | max_draws_reached | The maximum number of plays for the campaign has been reached. |
| 750 | not_eligible | This client of not eligible to play (based on filtering set in the backend). |
| 751 | language_not_supported | The language variable sent in the poke has not been set in the backend (should be 2 lowercase letters, such as "en", "fr", "nl", etc.) |
| 752 | missing_user_uid | No user_uid given by the poke request. |
| 800 | ok | Succesfull request. Use the html_data variable to display the iframe. |
