> ## Documentation Index
> Fetch the complete documentation index at: https://docs.m1amdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Java Spring Error Codes

The following is a list of error codes that are generated by the Java Spring libraries that implement Storefront Gateway.

| HTTP Status | Spring-generated Code | Description |
| - | - | - |
| 400 | `BIND_EXCEPTION` | Internal binding that results from bad user input |
| `HTTP_MESSAGE_NOT_READABLE` | Failure to parse a POST request payload | |
| `MISSING_SERVLET_REQUEST_PARAMETER` | Bad user input | |
| `METHOD_ARGUMENT_NOT_VALID` | User input validation error | |
| `SERVLET_REQUEST_BINDING` | Failure to interpret user input | |
| `TYPE_MISMATCH` | Failure to convert input parameters | |
| 401 | `UNAUTHORIZED` | Thrown as a part of any authentication failure |
| 403 | `ACCESS_FORBIDDEN` | Access is denied. You do not have the required permissions to access this Storefront Gateway resource. |
| 405 | `HTTP_REQUEST_METHOD_NOT_SUPPORTED` | Request handler does not support the used method. See [HTTP Verbs](r_connectHTTPverbs). |
| 406 | `HTTP_MEDIA_TYPE_NOT_ACCEPTABLE` | Request handler cannot generate a response that is acceptable by the client |
| 500 | `CONVERSION_NOT_SUPPORTED` | Failure to interpret user input |
| 500 | `HTTP_MESSAGE_NOT_WRITABLE` | Failure to generate a response payload |
| 500 | `MISSING_SERVLET_REQUEST_PART` | Missing multi-part |
|   | `HTTP_MEDIA_TYPE_NOT_SUPPORTED` | The client PUT, POSTed, or PATCHed content of an unsupported media type |

**Parent topic:**[Status Codes and Errors](c_statusCodesAndErrors)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.