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
Walshy
Walshy2mo ago
did you try to reinstall the installation?
zzai
zzai2mo ago
Can I directly connect to Git without having to create a new one from the API?
Walshy
Walshy2mo ago
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
zzai
zzai2mo ago
Can I create a new one directly from the API without having to create it again in the dashboard?
Walshy
Walshy2mo ago
probably not, it's an oauth flow
zzai
zzai2mo ago
I can create a connection to Git in the dashboard, but I get an error when trying to do it through the API.
Want results from more Discord servers?
Add your server