# notenoughcredits: Simulate not Enough Credits for Api Key

> notenoughcredits (Simulate not Enough Credits for Api Key) is a 1001fx API function in the group 1001fx account: POST https://api.1001fx.com/1001fx/notenoughcredits, 0 credits per call. It works as a ready-made module in Make and n8n or as a plain HTTP call.

To set up error handling, this function simulates the not enough credits error.

- Group: 1001fx account
- Endpoint: `POST https://api.1001fx.com/1001fx/notenoughcredits`
- Authentication: header `X-API-KEY: YOURSECRETAPIKEY`
- Content type: no body
- Credits: 0 credits per call
- Ready-made in: Make and n8n
- Docs: https://1001fx.com/functions/notenoughcredits

## Parameters

This function has no parameters.

## Example: Not enough credits

```bash
curl -X POST 'https://api.1001fx.com/1001fx/notenoughcredits' \
  -H 'X-API-KEY: YOURSECRETAPIKEY' \
  -H 'Content-Type: application/json' \
  -d '{}'
```
