# Error Codes

The following table lists client error codes that the Juspay Hyperswitch SDK returns to your website for graceful handling.

| Error Type               | Error Message                                   |
| ------------------------ | ----------------------------------------------- |
| invalid\_request\_error  | Invalid api key                                 |
| invalid\_request\_error  | Invalid value for < parameter\_name >           |
| invalid\_request\_error  | Missing required parameter: < parameter\_name > |
| invalid\_request\_error  | Invalid client secret                           |
| invalid\_request\_error  | Invalid promise                                 |
| processing\_error        | Payment failed with the payment processor       |
| internal\_server\_error  | Server is unavailable                           |
| object\_not\_found       | Payment does not exist                          |
| confirm\_payment\_failed | An unknown error occurred                       |


---

# 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.hyperswitch.io/integration-guide/payment-suite/payment-method-card/web/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.
