Cloudflare connection problems
Cloudflare connection error messages, with the cause and fix for each one.
Messages Advisor shows when the Cloudflare connection or data collection fails. Find the exact message shown on screen. Messages are in Portuguese, followed by an English translation. The messages apply to both connectors, Cloudflare Edge and Cloudflare One, unless the section says otherwise.
"Token da Cloudflare inválido ou sem permissão."
(Invalid Cloudflare token or missing permission.) In the sync details, it shows as token inválido ou sem permissão (invalid token or missing permission).
Cause
The API token was mistyped, expired, was revoked or does not have all the required read permissions.
How to fix
- Go to Administração (Administration) > Integrações (Integrations).
- On the connection card, select Editar token (Edit token).
- Paste a token with all of the connector's read permissions, listed in Connect Cloudflare (Cloudflare Edge) and in Connect Cloudflare One.
"O token é válido, mas não acessa essa conta. Confira o Account ID e garanta que o token tenha permissão de leitura no escopo da conta."
(The token is valid, but cannot access this account. Check the Account ID and make sure the token has read permission at the account scope.)
Cause
The token is valid, but it cannot access the account you entered: the Account ID is wrong or the token has no account-scope permissions.
How to fix
- Check the Account ID on the account home page in the Cloudflare dashboard.
- Make sure the token has the Account scope read permissions listed in Connect Cloudflare.
- Go to Integrações > Editar token and save.
"a Cloudflare listou 0 zonas e a credencial não alcança mais esta conta"
(Cloudflare listed 0 zones and the credential can no longer reach this account.) It shows in the sync details, and the connection shows an error. Zones and data already collected stay in Advisor, without updates, until collection resumes.
Cause
The credential lost access to the account: Cloudflare lists no zones and refuses to read the account. This happens, for example, when the token owner leaves the account or when the token's permissions are reduced.
How to fix
- In the Cloudflare dashboard, confirm that the account is still active and that the token owner is still a member.
- Go to Administração (Administration) > Integrações (Integrations).
- On the connection card, select Editar token (Edit token) and paste a token with the permissions listed in Connect Cloudflare. If the connection uses OAuth, select Reconectar (Reconnect).
The connection returns to normal at the next successful collection.
"A autorização na Cloudflare expirou ou foi revogada. Reconecte esta integração."
(The Cloudflare authorization expired or was revoked. Reconnect this integration.) Along with this message, Advisor sends the notification Reconecte a integração (Reconnect the integration), followed by the integration name, stating that collection for this integration is stopped until it is reconnected in Integrações. The sync details may show a autorização da Cloudflare não alcança esta conta ou não tem os escopos necessários (the Cloudflare authorization does not reach this account or lacks the required scopes).
Cause
The OAuth authorization expired, was revoked in Cloudflare, or does not cover the account or scopes Advisor needs.
How to fix
- Go to Administração > Integrações.
- On the connection card, select Reconectar (Reconnect).
- On the Cloudflare screen, choose the right account and approve the read permissions.
"Autorização recusada na Cloudflare. Nenhuma conexão foi criada."
(Authorization denied in Cloudflare. No connection was created.) On Cloudflare One, the message is Autorização recusada na Cloudflare. Nenhuma conexão da Cloudflare One foi criada. (Authorization denied in Cloudflare. No Cloudflare One connection was created.)
Cause
The permissions were denied on the Cloudflare authorization screen.
How to fix
Go through the flow again in Integrações > Adicionar conexão (Add connection) > Conectar com a Cloudflare (Connect with Cloudflare), or Conectar com a Cloudflare One (Connect with Cloudflare One) on the Cloudflare One card, and approve the permissions. No connection was created, so there is nothing to clean up.
"O link de conexão expirou ou foi aberto em outro navegador. Tente de novo."
(The connection link expired or was opened in another browser. Try again.)
Cause
The Cloudflare connection link is valid for a few minutes and only in the browser where the connection started. The time ran out, or the link was opened in another browser.
How to fix
In the same browser, go to Integrações and select Conectar com a Cloudflare again (or Reconectar for an existing connection). Finish the authorization right away.
"A conexão por OAuth com a Cloudflare não está disponível neste ambiente. Avise o administrador da plataforma."
(The OAuth connection with Cloudflare is not available in this environment. Tell the platform administrator.)
Cause
This Advisor environment does not offer the OAuth connection.
How to fix
Connect with an API token, through the ou use um token de API (or use an API token) option. Refer to Connect Cloudflare. To use OAuth, contact Guardnet.
"Você não tem permissão para conectar a Cloudflare neste tenant. Peça acesso ao administrador do seu tenant."
(You do not have permission to connect Cloudflare in this tenant. Ask your tenant administrator for access.) On Cloudflare One, the message is Você não tem permissão para conectar a Cloudflare One neste tenant. Peça acesso ao administrador do seu tenant. (You do not have permission to connect Cloudflare One in this tenant. Ask your tenant administrator for access.)
Cause
Your account does not have permission to manage connections in this tenant, or it lost that permission during the connection.
How to fix
Ask your tenant administrator for a role with the connections.write permission, such as Tenant Admin. Then connect again.
"Essa conta da Cloudflare já está conectada neste tenant."
(This Cloudflare account is already connected in this tenant.) On Cloudflare One, the message is Essa conta da Cloudflare já está conectada à Cloudflare One neste tenant. (This Cloudflare account is already connected to Cloudflare One in this tenant.)
Cause
The account chosen on the Cloudflare screen already has a connection on this connector in the tenant. A Cloudflare Edge connection does not block the same account on Cloudflare One, and the reverse is also true.
How to fix
Use the existing connection on the connector's card. To fix its access, select Reconectar (Reconnect). Refer to Integrations.
"N conexão(ões) com erro. A coleta está pausada…"
(N connection(s) with errors. Collection is paused…)
Cause
One or more connections have a credential error. Collection for those connections is paused until they are fixed.
How to fix
Go to Integrações, find the failing connection and follow the section for the message it shows: Editar token for an API token, Reconectar for OAuth.
"N sincronização(ões) falharam…"
(N sync(s) failed…)
Cause
One or more syncs ended with an error. The reason shows in the sync details.
How to fix
- Open the sync details and read the reason.
- If it is a token or authorization problem, follow the matching section on this page.
- After fixing it, start a new collection from the Sincronizar (Sync) menu or wait for the automatic daily collection at 02:00 (Brasília time).
"N coleta(s) vieram incompletas…"
(N collection(s) came back incomplete…) The sync row shows Coleta incompleta: (Incomplete collection:), and the details show N falha(s) parcial(is) na coleta: … (N partial collection failure(s): …) with the list of what failed.
Cause
Collection finished, but part of the data did not come back. The sync details list what failed.
How to fix
- Read in the details which items failed.
- If the connection uses an API token, check the permissions in Connect Cloudflare and replace the token in Editar token.
- If the connection uses OAuth, select Reconectar.
"a Cloudflare listou 0 zonas nesta coleta; se a próxima também vier vazia, as zonas da conta serão marcadas como removidas"
(Cloudflare listed 0 zones in this collection; if the next one is also empty, the account's zones will be marked as removed.) The sync row shows Coleta incompleta (Incomplete collection), followed by the message. The connection stays connected, and no data was updated in that collection.
Cause
Cloudflare returned no zones, but the account is still reachable. The account may have run out of zones, or the credential may have lost access to them.
How to fix
- In the Cloudflare dashboard, check whether the zones are still in the account.
- If they are, go to Integrações and select Editar token to paste a token with the permissions listed in Connect Cloudflare. If the connection uses OAuth, select Reconectar.
- If the account really has no zones left, you don't need to do anything: the next empty collection marks the zones as removed.
"limite de consultas da Cloudflare atingido; nova tentativa agendada"
(Cloudflare query limit reached; retry scheduled) Cloudflare One only. The connection row shows Coleta incompleta (Incomplete collection) with this reason.
Cause
Cloudflare limited the collection's queries, which can make a maximum number of queries every 5 minutes. The data already collected was kept. The limit does not interrupt the history fill: while it continues, the Cloudflare One screens show Coletando histórico (Collecting history).
How to fix
- Wait. The collection reruns on its own after at least 5 minutes and continues from the day where it stopped. The history is collected in stages of up to 10 days. Refer to Connections and sync.
- Avoid using Sincronizar (Sync) during that interval, and avoid syncing other connections for the same Cloudflare account at the same time. Every sync uses the same limit.
- If the sync shows as failed after three attempts, sync again later.
"Postura ainda não calculada. Aguarde o próximo scan agendado."
(Posture not calculated yet. Wait for the next scheduled scan.)
Cause
The score has not been calculated yet, usually because the first posture collection has not finished.
How to fix
Wait for the automatic daily collection at 02:00 (Brasília time). Users with the connections.scan permission can start a collection from the Sincronizar menu. Refer to Maturity Score.
"Nenhuma conexão ativa" or the Cloudflare menu is missing
Cause
The tenant has no active Cloudflare connection. The Nenhuma conexão ativa (No active connection) warning shows in the top bar and the Cloudflare menu does not appear.
How to fix
Create or fix the connection in Administração > Integrações. Refer to Connect Cloudflare.
"Conecte a Cloudflare One" or the Cloudflare One menu is missing
(Connect Cloudflare One.)
Cause
The tenant does not have a Conectada (Connected) Cloudflare One connection. Cloudflare One is a connector of its own: a Cloudflare Edge connection does not unlock the Cloudflare One section or the Gateway, WARP and Consulta por usuário (User lookup) screens.
How to fix
Add the connection on the Cloudflare One card, in Administração > Integrações, or fix its access if it is in Erro (Error). Refer to Connect Cloudflare One.
The Alterações screen is empty
Cause
With an API token, the token lacks the Account Settings: Read permission. With OAuth, the authorization does not include the required access.
How to fix
- API token: add Account Settings with Read access and replace the token in Editar token.
- OAuth: go to Integrações and select Reconectar.
Refer to Changes.
"A Cloudflare recusou a leitura de parte dos dados do Gateway." or "do WARP."
(Cloudflare refused to read part of the Gateway data, or the WARP data.)
Cause
The Cloudflare One connection does not have the Zero Trust read permissions. This happens when the OAuth authorization or the API token does not include these permissions.
How to fix
- OAuth: go to Integrações (Integrations) and, on the Cloudflare One card, select Reconectar (Reconnect). Accept the requested permissions on the Cloudflare screen.
- API token: create a token with the Cloudflare One permissions (Account Settings, Account Analytics, Zero Trust, Cloudflare DEX, Zero Trust: PII and Access: Users, with Read access). On the Cloudflare One card, select Editar token (Edit token) and paste the new token.
"Nenhuma zona Enterprise nesta conta. O mapa em tempo real usa o Instant Logs da Cloudflare, disponível apenas nesse plano."
(No Enterprise zone in this account. The real-time map uses Cloudflare Instant Logs, available only on that plan.)
Cause
The Ao Vivo (Live) screen uses Cloudflare Instant Logs, which only exists for zones on the Enterprise plan. The connected account has no zones on that plan.
How to fix
No fix is required in Advisor. The real-time map only works with Enterprise zones. Refer to Live map.
"A conexão não tem permissão de logs da Cloudflare, exigida pelo mapa ao vivo. Reconecte a integração em Integrações para concedê-la."
(The connection does not have the Cloudflare logs permission required by the live map. Reconnect the integration in Integrations to grant it.)
Cause
The Ao Vivo (Live) screen uses Cloudflare Instant Logs, which requires the logs read permission (Logs Read). The connection lists the zones but does not have this permission. This happens with OAuth connections authorized before the permission was added to Advisor's request and with API tokens created without Logs.
How to fix
- OAuth: on the map screen, select Ir para Integrações (Go to Integrations) and, on the Cloudflare card, select Reconectar (Reconnect). Accept the permissions requested on the Cloudflare screen.
- API token: create a token that includes Logs with Read access and, on the Cloudflare card, select Editar token (Edit token) and paste the new token.
Refer to Live map.