> ## 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 cannot 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"
    }
}
```

## Wait 5 minutes before creating a new Refresh Intent

If a Refresh Intent succeeded 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 failed less than 5 minutes ago, you can create another without waiting.
</Info>

## The credentials are invalid

If Fintoc confirms that the 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 reports invalid credentials before Fintoc confirms the report, 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"
    }
}
```
