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

# Errors

## You can't create a Refresh Intent while another is in progress

If you create a Refresh Intent while another is in progress, the API returns this error:

```json theme={null}
{
    "error": {
        "type": "invalid_request_error",
        "message": "There is already a refresh intent in progress for link_00000000.",
        "code": "refresh_intent_in_progress",
        "param": null,
        "doc_url": "https://docs.fintoc.com/reference/errors"
    }
}
```

## You have to wait 5 minutes to create a new Refresh Intent

If you created a successful Refresh Intent less than 5 minutes ago, the API returns this error:

```json theme={null}
{
    "error": {
        "type": "invalid_request_error",
        "message": "This Link was recently refreshed.You have to wait at least 5 minutes between refresh intents",
        "code": "rate_limit_exceeded",
        "param": null,
        "doc_url": "https://docs.fintoc.com/reference/errors"
    }
}
```

<Info>
  If a Refresh Intent created less than 5 minutes ago fails, you can create another without waiting.
</Info>

## The credentials are invalid

If Fintoc confirms that your credentials are invalid, the API returns this error:

```json theme={null}
{
    "error": {
        "type": "link_error",
        "message": "The institution indicated that the credentials are invalid. You need to reconnect the account.",
        "code": "rejected_refresh_intent"
    }
}
```

If the bank rejects your credentials but Fintoc has not confirmed they are invalid, you must wait at least one hour. The API returns this error:

```json theme={null}
{
    "error": {
        "type": "link_error",
        "message": "The institution indicated that the credentials are invalid. You have to wait at least an hour to avoid locking your credentials",
        "code": "rejected_refresh_intent"
    }
}
```
