# Gateway Error Codes
source: https://developer.mastercard.com/mastercom-extended/documentation/code-and-formats/gatewayerrorcodes/index.md

## Gateway Error Codes {#gateway-error-codes}

All the errors that the gateway returns follow the same data format.

Refer to [Gateway Error Codes](https://developer.mastercard.com/platform/documentation/errors-troubleshooting/gateway-error-codes/) for further information.

## Gateway HTTP Response Status Codes {#gateway-http-response-status-codes}

| HTTP Response Status code |      Description       |
|---------------------------|------------------------|
| 200                       | OK                     |
| 201                       | NEW_RESOURCE_CREATED   |
| 202                       | ACCEPTED               |
| 400                       | INVALID_REQUEST        |
| 401                       | NOT_AUTHORIZED_REQUEST |
| 403                       | FORBIDDEN              |
| 404                       | RESOURCE_NOT_FOUND     |
| 405                       | METHOD_NOT_ALLOWED     |
| 409                       | RESOURCE_CONFLICT      |
| 429                       | TOO_MANY_REQUESTS      |

