Cloudflare Pages API Creation Project E 8000011
curl -X POST ‘https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/pages/projects’
-H ‘Authorization: $API_TOKEN’
-H ‘Content-Type: application/json’
-d ‘{
“name”: “pages-project”,
“production_branch”: “main”,
“source”: {
“type”: “github”,
“config”: {
“owner”: “GitHubUser”,
“repo_name”: “RepoName”
}
}
}’
{
"code": 8000011,
"message": "There is an internal issue with your Cloudflare Pages Git installation. If this issue persists after reinstalling your installation, contact support: https://cfl.re/3WgEyrH."
}
6 Replies
did you try to reinstall the installation?
Can I directly connect to Git without having to create a new one from the API?
i'm not sure what you mean but you need to connect to Git through the dash to then use that git connection
https://dash.cloudflare.com/?to=/:account/pages/new/provider/github
Can I create a new one directly from the API without having to create it again in the dashboard?
probably not, it's an oauth flow
I can create a connection to Git in the dashboard, but I get an error when trying to do it through the API.