charly
CDCloudflare Developers
•Created by charly on 12/20/2024 in #pages-help
Unable to Create Cloudflare Pages Project via API (Error Code: 8000000)
Description:
I'm encountering an issue when attempting to create a Cloudflare Pages project using the Cloudflare API. Despite providing all required fields in the payload and using a valid API token, the API returns the following error:
- Account ID:
- API Endpoint:
- Payload:
- Response:
Steps Taken:
1. Verified the API token is valid using the
2. Ensured the token has
3. Tested with minimal payloads and different project names to rule out conflicts.
4. Verified that the account has no billing or standing issues. Steps to Reproduce:
1. Use a valid API token with the required permissions.
2. Send a POST request to the Pages project creation endpoint with the payload above.
3. Observe the API response with error code
I'm encountering an issue when attempting to create a Cloudflare Pages project using the Cloudflare API. Despite providing all required fields in the payload and using a valid API token, the API returns the following error:
"An unknown error occurred. Contact your account team or Cloudflare support: https://cfl.re/3WgEyrH."
Details:- Account ID:
300ee1b0a1ac9d0e5d5527cc6678c5f9
- API Endpoint:
POST /accounts/{account_id}/pages/projects
- Payload:
- Response:
Steps Taken:
1. Verified the API token is valid using the
/tokens/verify
endpoint (result: active
).2. Ensured the token has
Cloudflare Pages: Edit
and Account Settings: Read
permissions.3. Tested with minimal payloads and different project names to rule out conflicts.
4. Verified that the account has no billing or standing issues. Steps to Reproduce:
1. Use a valid API token with the required permissions.
2. Send a POST request to the Pages project creation endpoint with the payload above.
3. Observe the API response with error code
8000000
.
Would appreciate any insights or guidance from the community or Cloudflare team! Let me know if more details are needed.2 replies