Common Cloudflare API Errors
Diagnosing and resolving Cloudflare API error codes (401, 403, 10000, 10001) in WP Zbridge.
Common Cloudflare API Errors
Section titled “Common Cloudflare API Errors”When configuring API credentials, Cloudflare returns standard HTTP status codes. Use this guide to resolve common errors.
HTTP 401: Unauthorized / Invalid Token
Section titled “HTTP 401: Unauthorized / Invalid Token”- Cause: The API Token was copied with extra whitespace, has expired, or has been revoked.
- Solution:
- Go to Cloudflare > My Profile > API Tokens.
- Verify the token is active. If needed, click Roll to regenerate the secret and paste the fresh key into WP Zbridge.
HTTP 403: Forbidden / Missing Permissions
Section titled “HTTP 403: Forbidden / Missing Permissions”- Cause: The token exists, but lacks the necessary permission scopes or is scoped to a different zone.
- Solution:
- Edit the token permissions in Cloudflare and ensure it contains:
Zone - Zaraz - EditZone - Zone - Read
- Verify the Zone Resources dropdown includes the exact domain where WP Zbridge is running.
- Edit the token permissions in Cloudflare and ensure it contains:
Error 10000: Zone Not Found
Section titled “Error 10000: Zone Not Found”- Cause: The 32-character Zone ID entered does not match the domain on Cloudflare.
- Solution: Open your domain in Cloudflare, check the right-hand sidebar on the Overview page, copy the Zone ID, and paste it into WP Zbridge.