The connectors API (https://connectors.windsor.ai) answers an error with a JSON body that has an error message and, for most errors, a machine-readable code:

{
  "error": "Missing required parameter: fields",
  "code": "missing_parameter"
}

Use the code in your code, not the message: the message text can change. Some errors add more keys, such as details or retry_after. The HTTP status is 400 unless the table says otherwise.

Request errors

These errors mean that the request needs a change. Retrying the same request returns the same error.

CodeStatusCauseWhat to do
unauthorized400No api_key, or the key is in a header. The connectors host reads the key only from the api_key query parameter.Send api_key as a query parameter.
user_error400A general request error. Examples: an api_key that is not valid (Please check the API key used: …), a date_preset that is not one of the allowed values, a filter that is not valid JSON, or a data size over the limit (Data size is too big. Request less fields, accounts or date range.).Read the error message. It names the value to fix.
missing_parameter400A required parameter is missing, for example fields.Add the parameter that the message names.
invalid_parameter400A parameter has a value that is not valid.Fix the value that the message names.
unknown_field400fields has a field that the connector does not have. The message lists it and links the field list.Get the valid field IDs from GET /{connector}/fields.
invalid_fields400The requested fields are not valid for this request.Remove the fields that the message names.
incompatible_fields400The fields can't be returned in one request, for example Google Analytics 4 or Google Ads fields that do not go together. details has the conflicting fields and the groups that work together.Split the request, or keep the fields of one group.
invalid_date_range400A date is not a calendar date in YYYY-MM-DD, date_to is before date_from, or date_from is in the future.Fix the dates.
unknown_date_filter400A date_filters entry is not recognised.Use a date field from GET /{connector}/fields.
invalid_option400An option value is not one that the connector accepts.Use the values that GET /{connector}/options lists.
account_not_available400One of the accounts in select_accounts is not connected for this team. details.requested has what you asked for and details.configured the accounts you have.Use one of the configured account IDs, or connect the account.
ambiguous_account400An entry in select_accounts matches more than one connected account. details.matches lists the account IDs that each entry matches.Select the accounts by their exact ID.
no_accounts_configured400The team has no account for this connector.Connect an account for the connector in Windsor.ai.

Account and plan errors

CodeStatusCauseWhat to do
plan_not_allowed403The plan does not allow the request. force_refresh or a refresh_interval that the plan does not have gets this error. Only two cases get cached data instead: the Google Sheets add-on's force_refresh=partial, and the refresh interval of Google Sheets scheduled uploads and the cache warm-up. Other destination uploads, such as BigQuery or Snowflake, get the error. A query over the plan's quota gets it only from AI clients (MCP) and destination uploads. A request for data older than the plan's history limit gets a message of the plan, and only from AI clients (MCP). reason says which.See Pricing and plans, or change the request.
co_user_not_allowed403The api_key belongs to a co-user, who can only connect data sources for the team that sent the link.Query with the api_key of a member of that team.
auth_failed400The platform rejected the saved sign-in of the account. details.connect_url links to the page where you grant access again.Reconnect the account at connect_url.
connector_deactivated400A scheduled destination upload would miss a connector that was deactivated after an authentication error, so nothing was uploaded. details has the connector names and connect_url.Reconnect the connector, or add it to exclude_connectors in the connector URL.

A plain API call that is over the plan's quota, or from a team with an expired license or a failed payment, does not get an error. It gets HTTP 200 with a single row in place of your data. The text fields of that row hold the message of the plan, for example "Uh-oh! License expired. …" or "Your payment failed. …", the date fields hold today's date, and the metrics are 0. Don't read that row as data: look for the plan message in the text fields.

Pull errors

CodeStatusCauseWhat to do
timeout400The data was not pulled in time.Request fewer fields, accounts or a shorter date range.
too_big_snapshot_data400The data is over the size limit, and no requested field depends on the date.Request fewer fields or accounts.
retry_later400The source platform is still preparing the report, or a cached report expired and a new one is created. The response has a Retry-After header and a retry_after value in seconds.Send the same request again after that time.
multiple_errors400Only on /all. At least one connector failed, and the response wraps the errors in details. If one of them was a retry_later, the response has a Retry-After header too, and no retry_later code.Read details.connectors: it has the message of each failed connector, as {connector: message}. details.connector_errors adds the code and details of the errors that have them. Fix or retry those connectors.
internal_error500An unexpected error in Windsor.ai.Try again. If it stays, contact support with the request.

Write action errors

These come from POST /{connector}/actions. Apart from write_actions_disabled and auth_failed, a refused write action has no code: it answers with a bare error message, so match on the message and the status.

Code or responseStatusCauseWhat to do
write_actions_disabled403Write actions are off for the Windsor.ai user of the api_key. The setting is per team member.Turn on Enable write actions for Claude, ChatGPT & API under Settings → API Access.
auth_failed400The platform rejected the saved sign-in of the account. details.connect_url links to the page where you grant access again.Send the user to connect_url to reconnect the account, then send the request again.
Spend hold: result and spend_impact, no error200The request set spend_confirmed to false, and the action starts or increases ad spend, so it did not run. result has the message and spend_impact says what the spend does. This is a success status, so check for spend_impact.Show the impact to the user. After they approve, send the request again without spend_confirmed: false.
error: an identical request completed a moment ago400The same request ran a moment ago, and it was not executed again.Nothing to redo. To run it again on purpose, wait for the dedupe window or change a parameter.
error: an identical request failed with an unknown outcome400The same request failed in a way that does not show whether the platform applied it, and it was not executed again.Check the account first. Then wait for the dedupe window or change a parameter.

Job errors

CodeStatusCauseWhat to do
job_not_found404The job ID is unknown or the job expired.Start the job again.

Errors without a code

A few errors carry only the error message:

  • We don't have this connector yet! (400): the connector name in the path is not one that Windsor.ai has. Get the names from GET /list_connectors.
  • Couldn't identify the user! (400): the api_key does not belong to a Windsor.ai user.
  • Invalid value for '_field_headers' (400): the only value that is supported is names.

Errors from a connector

A connector can add codes of its own, for example for a limit of its source platform. These start with the connector or platform name, such as graph_rate_limit or adroll_proxy_error. The error message says what the platform returned.