# Errors related to API

### Some other common errors related to the Rewards APIs are listed below:

<table data-header-hidden><thead><tr><th width="150">No.</th><th>Error Code</th><th>Description</th><th>API Endpoints</th><th>HTTP Status Code</th><th>Actions</th></tr></thead><tbody><tr><td><strong><code>No.</code></strong></td><td><strong><code>Error Code</code></strong></td><td><strong><code>Description</code></strong></td><td><strong><code>API Endpoints</code></strong></td><td><strong><code>HTTP Status Code</code></strong></td><td><strong><code>Actions</code></strong></td></tr><tr><td>1</td><td>PLE10001</td><td>Validation error in place order</td><td>PlaceOrder</td><td>HTTP400</td><td>Please check the json payload.</td></tr><tr><td>2</td><td>PLE10002</td><td>Validation error in get order details</td><td>GetorderDetails, GetorderHistory</td><td>HTTP400</td><td>Please check the json payload.</td></tr><tr><td>3</td><td>PLE10003</td><td>Validation error in get filters</td><td>GetFilters</td><td>HTTP400</td><td>Please check the json payload.</td></tr><tr><td>4</td><td>PLE10004</td><td>Failed to validate client's externalOrderId</td><td>GetOrderHistory</td><td>HTTP422</td><td>The validation of poNumber has failed.</td></tr><tr><td>5</td><td>PLE10005</td><td>Failed to get currency value</td><td>PlaceOrder</td><td>HTTP502</td><td>Please try again after sometime.</td></tr><tr><td>6</td><td>PLE10006</td><td>Invalid response from currency API</td><td>PlaceOrder</td><td>HTTP502</td><td>Please try again after sometime.</td></tr><tr><td>7</td><td>PLE10007</td><td>Failed to add order</td><td>PlaceOrder</td><td>HTTP422</td><td>Order placement failed. Call the PlaceOrder API again.</td></tr><tr><td>8</td><td>PLE10008</td><td>Failed to get Order Amount details</td><td>GetOrderHistory</td><td>HTTP502</td><td>Please contact <a href="mailto:cs@xoxoday.com"><strong>cs@xoxoday.com</strong> </a></td></tr><tr><td>9</td><td>PLE10009</td><td>Failed to get company points</td><td>Getbalance</td><td>HTTP502</td><td>Please contact <a href="mailto:cs@xoxoday.com"><strong>cs@xoxoday.com</strong></a></td></tr><tr><td>10</td><td>PLE10010</td><td>Failed to redeem points</td><td>PlaceOrder</td><td>HTTP422</td><td>Order placement failed. Call the PlaceOrder API again.</td></tr><tr><td>11</td><td>PLE10011</td><td>Failed to confirm order</td><td>PlaceOrder</td><td>HTTP422</td><td>Order placement failed. Call the PlaceOrder API again.</td></tr><tr><td>12</td><td>PLE10012</td><td>Failed to process order</td><td>PlaceOrder</td><td>HTTP502</td><td>Order placement failed. Call the PlaceOrder API again.</td></tr><tr><td>13</td><td>PLE10013</td><td>Failed to confirm points redeemed</td><td>GetVoucher,GetOrderDetials,GetorderHistory</td><td>HTTP503</td><td>Please contact <a href="mailto:cs@xoxoday.com"><strong>cs@xoxoday.com</strong></a></td></tr><tr><td>14</td><td>PLE10014</td><td>Invalid client</td><td>PlaceOrder</td><td>HTTP400</td><td>Please contact <a href="mailto:cs@xoxoday.com"><strong>cs@xoxoday.com</strong></a></td></tr><tr><td>15</td><td>PLE10015</td><td>Amazon KYC is not approved</td><td>PlaceOrder</td><td>HTTP400</td><td>Amazon KYC process is not done. Please contact <a href="mailto:cs@xoxoday.com"><strong>cs@xoxoday.com</strong></a></td></tr><tr><td>16</td><td>PLE10016</td><td>Failed to get Order details</td><td>GetorderDetails</td><td>HTTP404</td><td>Order ID or poNumber passed is incorrect.</td></tr><tr><td>17</td><td>PLE10017</td><td>Failed to get product details</td><td>GetVoucher</td><td>HTTP404</td><td>Product details are not available. Please refresh the catalog by calling getvouchers API every 24 hours.</td></tr><tr><td>18</td><td>PLE10018</td><td>Invalid denomination for the product</td><td>PlaceOrder</td><td>HTTP400</td><td>The denomination passed is not valid. Please check and pass correct denomination from GetVoucher API.</td></tr><tr><td>19</td><td>PLE10019</td><td>Clients are not allowed to place international orders</td><td>PlaceOrder</td><td>HTTP401</td><td>International products are disabled. Please write to <a href="mailto:cs@xoxoday.com"><strong>cs@xoxoday.com</strong></a> to enable it.</td></tr><tr><td>20</td><td>PLE10020</td><td>Failed to get currency details for the client</td><td>PlaceOrder</td><td>HTTP404</td><td>Please try again after sometime.</td></tr><tr><td>21</td><td>PLE10021</td><td>Failed to find order details while fulfilling order</td><td>GetOrderDetails</td><td>HTTP404</td><td>Please try again after sometime.</td></tr><tr><td>22</td><td>PLE10022</td><td>Failed to find order history</td><td>GetOrderHistory</td><td>HTTP404</td><td>Order ID or poNumber passed is incorrect.</td></tr><tr><td>23</td><td>PLE10023</td><td>Failed to get client's balance</td><td>GetBalance</td><td>HTTP502</td><td>Please check the json payload.</td></tr><tr><td>24</td><td>PLE10024</td><td>Vouchers are out of stock</td><td>PlaceOrder</td><td>HTTP502</td><td>Stock will be replenish. Please try again after sometime.</td></tr><tr><td>25</td><td>PLE10025</td><td>Failed to place order for the client</td><td>Placeorder</td><td>HTTP502</td><td>System could not place the order. Please try again after sometime.</td></tr><tr><td>26</td><td>PLE10026</td><td>Order cancelled but refund failed</td><td>PlaceOrder</td><td>HTTP404</td><td>Please write to <a href="mailto:cs@xoxoday.com"><strong>cs@xoxoday.com</strong></a></td></tr><tr><td>27</td><td>PLE10027</td><td>Failed to find order history</td><td>GetorderHistory</td><td>HTTP404</td><td>Order ID or poNumber passed is incorrect.</td></tr><tr><td>28</td><td>PLE10028</td><td>Failed to find TransactionId</td><td>-----</td><td>HTTP404</td><td>Order ID or poNumber passed is incorrect.</td></tr><tr><td>29</td><td>PLE10029</td><td>Failed to find filters for filterGroupCode</td><td>GetFilters</td><td>HTTP404</td><td>The filter Group code used is invalid. Please check the value code in GetFilters API.</td></tr><tr><td>30</td><td>PLE10030</td><td>Failed to find vouchers</td><td>GetVouchers</td><td>HTTP404</td><td>Please try again after some time.</td></tr><tr><td>31</td><td>PLE10031</td><td>Invalid filter value code</td><td>GetVouchers</td><td>HTTP400</td><td>The filter value code used is invalid. Please check the value code in GetFilters API.</td></tr><tr><td>32</td><td>PLE10032</td><td>Failed to validate OrderHistory Request</td><td>GetorderHistory</td><td>HTTP400</td><td>Please check the json payload.</td></tr><tr><td>33</td><td>PLE10033</td><td>Failed to validate getVouchers request</td><td>GetVoucher</td><td>HTTP400</td><td>Please check the json payload.</td></tr><tr><td>34</td><td>PLE10034</td><td>Failed to process resendVoucher</td><td>GetOrderDetails</td><td>HTTP502</td><td>GetOrderDetails API failed to resend the voucher details. Please try again after sometime.</td></tr><tr><td>35</td><td>PLE10035</td><td>Failed to get order details to check status of order</td><td>PlaceOrder</td><td>HTTP502</td><td>PlaceOrder API has failed to check the status of the order. Please call the GetOrderDetails API and pass the same poNumber.</td></tr><tr><td>36</td><td>PLE10036</td><td>Failed to get order details as delivery is canceled.</td><td>PlaceOrder</td><td>HTTP404</td><td>Order delivery is in cancelled state.</td></tr><tr><td>37</td><td>PIPE10015</td><td>Plum Pro APIs: User is disabled</td><td>-----</td><td>HTTP401</td><td>Please contact <a href="mailto:cs@xoxoday.com"><strong>cs@xoxoday.com</strong></a></td></tr><tr><td>38</td><td>PIPE10016</td><td>Plum Pro APIs: Company is disabled</td><td>-----</td><td>HTTP401</td><td>Please contact <a href="mailto:cs@xoxoday.com"><strong>cs@xoxoday.com</strong></a></td></tr><tr><td>39</td><td>PIPE10017</td><td>Plum Pro APIs: Access restricted for this IP</td><td>-----</td><td>HTTP401</td><td>IP must have blacklisted. Please share your server IP to <a href="mailto:cs@xoxoday.com"><strong>cs@xoxoday.com</strong> </a>and get it whitelisted.</td></tr><tr><td>41</td><td>PLE10041</td><td>Clients are not allowed to place more than 10 Qty</td><td>PlaceOrder</td><td>HTTP409</td><td>In an order, maximum ordered quantity of any product cannot exceed more than 9999. Please divide the order into smaller chunks and call the API multiple times.</td></tr><tr><td>42</td><td>PLE10042</td><td>This product is not activated for the client.</td><td>PlaceOrder</td><td>HTTP404</td><td>This product is disabled, please submit your KYB. In case already done, please contact <a href="mailto:cs@xoxoday.com"><strong>cs@xoxoday.com</strong></a>.</td></tr></tbody></table>

