# Error Codes

Below is a list of error  codes that can possibly be returned by the Prodege API:

| **Error Code** | **Description**                                                                                                                                   |
| -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| 100            | Prodege API is currently under maintenance                                                                                                        |
| 101            | Unauthorized Access                                                                                                                               |
| 102            | Expired Request                                                                                                                                   |
| 103            | API rate limit reached                                                                                                                            |
| 1001           | Invalid value for client\_time                                                                                                                    |
| 1002           | Invalid country\_id                                                                                                                               |
| 2001           | Invalid prodege\_project\_id                                                                                                                      |
| 2002           | Invalid project\_id                                                                                                                               |
| 2003           | Project not found                                                                                                                                 |
| 2004           | Duplicate project\_id                                                                                                                             |
| 2005           | Invalid project\_type\_id                                                                                                                         |
| 2006           | Invalid value for loi                                                                                                                             |
| 2007           | Project URL is required for Adhoc surveys                                                                                                         |
| 2008           | The project\_url field is only used for Adhoc surveys (DEPRECATED)                                                                                |
| 2009           | Invalid value for cpi                                                                                                                             |
| 2010           | API user is not allowed to set project cpi                                                                                                        |
| 2011           | API user is not allowed to use alphanumeric project\_id’s                                                                                         |
| 2012           | Invalid value for status                                                                                                                          |
| 2013           | Project status cannot be set to LIVE (No quotas)                                                                                                  |
| 2014           | No further changes can be made once project is in COMPLETE status                                                                                 |
| 2015           | Non-PENDING projects cannot be set back to PENDING status                                                                                         |
| 2016           | PENDING Projects cannot transition to PAUSED or COMPLETE                                                                                          |
| 2017           | PAUSED Projects can only transition to LIVE or COMPLETE                                                                                           |
| 2018           | Project URL must contain %transid%                                                                                                                |
| 2019           | Project URL invalid: url should be properly formatted with http\://                                                                               |
| 2032           | Invalid project URL: must be no more than 255 characters                                                                                          |
| 2033           | Invalid placeholders in project URL: @pl \[@pl represents the invalid “q” placeholders that were included in the project URL]                     |
| 2034           | API User is not allowed to set project\_incentive                                                                                                 |
| 2035           | Invalid value for incentive\_amount: must be > 0 and <= cpi                                                                                       |
| 2036           | API user is not allowed to create qualitative surveys                                                                                             |
| 2037           | API User is not allowed to set project\_intro                                                                                                     |
| 2038           | Value for project\_intro must be no more than 500 characters                                                                                      |
| 2039           | Value for project\_intro must be a valid JSON                                                                                                     |
| 2078           | Non-pending projects cannot be deleted                                                                                                            |
| 3001           | Invalid value for number\_of\_respondents                                                                                                         |
| 3002           | Value for targeting\_criteria should be a valid JSON                                                                                              |
| 3003           | Invalid question\_id: @q \[@q is  a placeholder for the question\_id]                                                                             |
| 3004           | Invalid precode data for question @q: @p \[@p is a placeholder for the invalid precodes]                                                          |
| 3005           | Quota not found                                                                                                                                   |
| 3010           | Quotas with activity cannot be deleted                                                                                                            |
| 4001           | Value for reconciliation\_entries should be a valid JSON                                                                                          |
| 4002           | Invalid new status  for transaction\_id @tr: @st \[@tr is  a placeholder for the transaction\_id, @st is  a placeholder for the completion\_type] |
| 4003           | Invalid transaction\_id @tr                                                                                                                       |
| 4004           | Project not found for transaction\_id @tr                                                                                                         |
| 4005           | Project is in COMPLETE status. transaction\_id: @tr                                                                                               |
| 4006           | Transaction not found                                                                                                                             |
| 4007           | Project URL not found                                                                                                                             |
| 4008           | Panelist not found for Recontact project                                                                                                          |
| 4009           | Invalid reconciliation entry value: @re                                                                                                           |
| 4010           | Invalid panelist\_id                                                                                                                              |
| 4011           | API User is not allowed access to pmr-unsigned-transaction-completion                                                                             |
| 4012           | Transaction is not associated with API User on request                                                                                            |
| 4013           | Project URL must be provided before the survey can be set to LIVE                                                                                 |
| 4014           | Could not retrieve test link from multi link source                                                                                               |
| 4015           | Transaction is associated with non-member                                                                                                         |
| 4016           | Could not create transaction for COMPLETED projects                                                                                               |
| 5001           | Invalid value for expected\_incidence\_rate                                                                                                       |
| 5002           | Invalid country\_id Question                                                                                                                      |
| 5003           | Invalid value for last\_login\_in\_days, should be greater than 0                                                                                 |
| 5004           | Invalid value for panelist\_ids                                                                                                                   |
| 5005           | Invalid value for transaction\_ids                                                                                                                |
| 5006           | Can not calculate respondents                                                                                                                     |
| 5007           | You do not have permissions to use last\_login\_in\_days parameter                                                                                |
| 6001           | Value for panelist\_recontacts should be a valid JSON                                                                                             |
| 6002           | Value for transaction\_recontacts should be a valid JSON                                                                                          |
| 6003           | Project should be recontact type                                                                                                                  |
| 6004           | Survey URL: missing url placeholder for transid                                                                                                   |
| 6005           | Survey URL: missing url placeholder for panelistid                                                                                                |
| 6006           | Invalid expiration date                                                                                                                           |
| 6007           | Invalid recontact entry value: @re                                                                                                                |
| 6008           | Recontact Project cannot have both Project-level and Panelist-level URLs at the same time                                                         |
| 6009           | Recontact Project cannot be missing both Project-level and Panelist-level URLs at the same time                                                   |


---

# 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://developer.prodege.com/demand/appendix/error-codes.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.
