Access and API errors
First confirm the selected organization and project in the console. For API keys, confirm the project in which the key was created; adding a differentproject query parameter does not change its scope.
A successful
204 has no response document. It can mean an empty CDN list; trying to parse it as JSON can produce a client-side error despite a successful request. Empty DNS zone lists return 200 with [].
See API errors for error formats. If a mutation times out, inspect the resource before repeating it; the first request may have applied.
Cloud CDN delivery
Compare the origin and edge
Request the same public path at the origin and at the assigned distribution hostname:
A direct origin request can differ from an edge request if the edge uses another Host header or SNI hostname. Compare those settings before concluding the origin is healthy for CDN requests.
Fix stale or unexpected responses
- Confirm the origin returns the desired response for the exact path and query.
- Review the distribution’s cache policy and matching delivery rules.
- Correct the policy, then purge the affected paths.
- Test again and review request logs. Do not repeatedly purge without correcting the source of the unwanted response.
Cloud DNS resolution
Check authoritative data first
Query the assigned nameservers directly:aa flag. If they do not, check zone status, the relative record name, type, enabled values, routing pickers, and health-check eligibility.
Compare delegation and resolver caches
If authoritative answers are correct, check the parent delegation and recursive answers:- If the trace reaches the old provider, review registrar or parent-zone nameservers.
- If delegation is correct but a resolver returns old data, allow the previous record or delegation TTL to expire.
- If validating resolvers fail after a migration, check the parent DS record against the target zone’s DNSSEC signing state.
- If only some networks receive unexpected answers, review geographic or weighted routing and resolver location.
Cloud Shield protection
For a false positive, identify the matched rule and test the narrowest relevant exception in staging. Recheck both the legitimate request and the traffic that should remain blocked. Follow investigations and policies and rules for the specific controls.
TLS and certificates
First distinguish a visitor certificate error from an edge-to-origin TLS error. Test the custom hostname without disabling certificate verification:
Managed certificates cannot be deleted from the inventory. See domains and TLS and certificate lifecycle.