# Simulating error responses

## Simulating error responses
When using the **Mock (stateful simulator)** environment, you can simulate authentication and server error responses by setting specific values in the `Authorization` header:
| Error | Authorization header value | Description |
|  --- | --- | --- |
| 403 Forbidden | `Bearer invalid-scope-token` | Simulates a token without the required scope/permissions |
| 500 Internal Server Error | `Bearer trigger-500-test` | Simulates an internal server error |

To set the Authorization header:
1. Select the request example for the error you want to trigger (e.g., "Trigger 403" or "Trigger 500")
2. In the **Authorization** section, set the header value as shown above
3. Click **Send** to execute the request

Version: 1.0
Security: bearerAuth
