# Tutelar Error Code

| Error Code | Http Status Code | Error Code                                                  | Description                                                                                                                                                |
| ---------- | ---------------- | ----------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 101        | 401              | Invalid api key or secret key. Please check api credentials | Invalid authentication credentials. Please check your api and secret keys created successfully.                                                            |
| 102        | 400              | Merchant id is not empty                                    | You should send merchant id(view merchants page) or you can send your merchant id along with the post parameters                                           |
| 103        | 400              | Order id is invalid                                         | Order id should not be empty                                                                                                                               |
| 104        | 400              | Order id format is invalid                                  | Order id accepts only alphanumeric, hyphen(-) and underscores(\_).                                                                                         |
| 105        | 400              | Order id length is invalid                                  | Maximum order id length is 40.                                                                                                                             |
| 106        | 400              | Duplicate order id recieved                                 | Duplicate order id exsits                                                                                                                                  |
| 107        | 400              | Payment mode is invalid                                     | You should use only “test” or “live”payment mode only.                                                                                                     |
| 108        | 401              | Payment mode credential error                               | If payment mode TEST, use trail api credentials. If payment mode LIVE, use live api credentials.                                                           |
| 109        | 400              | Amount is invalid                                           | Order amount should be number only. Validate number with decimals. 0000000000.00                                                                           |
| 110        | 400              | IP Address is not whitelisted                               | Ip address is not whitelisted                                                                                                                              |
| 111        | 400              | Risk engine is not assigned                                 | Risk engine is invalid. Please reachout tutelar support team                                                                                               |
| 112        | 400              | Field is required                                           | Check the post parameters document for reference. Order id, customer object, mode, payment instrument, currency code, merchant object, payment data object |
| 113        | 400              | Email address is invalid                                    | Invalid customer email address received                                                                                                                    |
| 114        | 400              | Phone number is invalid                                     | Invalid phone number is received. It will allow only numbers                                                                                               |
| 115        | 400              | Email address is not empty                                  | Customer email address should not be empty                                                                                                                 |
| 116        | 400              | Phone number is not empty                                   | Customer phone number should not be empty                                                                                                                  |
| 117        | 400              | Payment instrument type is invalid                          | Payment instrument type is invalid                                                                                                                         |
| 118        | 401              | Your trail has expired                                      | Your 14 days trial has been expired. Please reach out tutelar team                                                                                         |
| 119        | 400              | Too many requests                                           | Too many requests                                                                                                                                          |
| 120        | 400              | System error                                                | An error occurred on the Tutelar system                                                                                                                    |
| 121        | 401              | Transaction limit exceeded                                  | Your trail transaction limit has been exceeded                                                                                                             |
| 122        | 400              | Error:                                                      | Display all other transaction api related errors                                                                                                           |

## Tutelar Http Status Codes

| Http Status Code | Message                      | Description                                               |
| ---------------- | ---------------------------- | --------------------------------------------------------- |
| 201              | Created                      | Successful request                                        |
| 204              | Accepted                     | Successful request                                        |
| 401              | Unauthorised                 | Unauthorised error                                        |
| 400              | Bad Request                  | Invalid argument / Invalid payload                        |
| 403              | Forbidden                    | Permission denied / Invalid api key                       |
| 404              | Not Found                    | Requested URI or method not found                         |
| 409              | Conflict                     | Request could not be completed                            |
| 415              | Unsupported media type       | Unsupported media type                                    |
| 422              | Customer name format invalid | Customer name format invalid                              |
| 429              | Resource Exhausted           | Too many requests / Rate limiting / Out of resource quota |
| 500              | Internal Server Error        | Service has encountered an error                          |
| 502              | Bad gateway                  | Bad gateway                                               |
| 503              | Service Unavailable          | Service unavailable / Retry request                       |
| 504              | Gateway Timeout              | Gateway timed out error / Deadline exceeded               |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.v2.tutelar.io/client-side-integrations/tutelar-error-code.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
