# Request rejected by an upstream data service

<!-- GENERATED by gateway/scripts/generate-error-docs.mjs — DO NOT EDIT. This page renders gateway/contracts/errors.json; edit the catalogue and regenerate. -->

A data service we use did not accept part of this request, such as an identifier, place or option. Returned to your balance.

| Fact | Value |
| --- | --- |
| HTTP status | `400` |
| Type | `https://docs.investorliftdata.com/errors/upstream-rejected-request` |
| Charged | The call was charged; detail says whether the refund is applied or pending. |
| Retry | Change the request as the detail directs before sending it again. |

## Common causes

- A data service rejected an identifier, option or cursor.
- The requested place or dataset is not accepted or covered by that service.

## How to fix

1. Correct the request against the API reference and send it again.
2. Check the identifier, place, cursor and options before sending again.

## Example response body

**Refund applied**

```json
{
  "type": "https://docs.investorliftdata.com/errors/upstream-rejected-request",
  "title": "Request rejected by an upstream data service",
  "status": 400,
  "detail": "An upstream data service rejected this request — an identifier, parameter, cursor, place or dataset it does not accept or does not cover — so no answer was produced. The price of this call has been returned to the Account's balance. Correct the request and send it again.",
  "trace_id": "00000000-0000-4000-8000-000000000000"
}
```

**Refund pending**

```json
{
  "type": "https://docs.investorliftdata.com/errors/upstream-rejected-request",
  "title": "Request rejected by an upstream data service",
  "status": 400,
  "detail": "An upstream data service rejected this request — an identifier, parameter, cursor, place or dataset it does not accept or does not cover — so no answer was produced. Returning the price of this call to the Account's balance is pending and will be applied. Correct the request and send it again.",
  "trace_id": "00000000-0000-4000-8000-000000000000"
}
```

Quote the `trace_id` to `support@investorliftdata.com`.
