Cloudflare API pages

I’m having issues deploying a new site via the cloudflare API. Anyone have experience using this ?
just trying to use this Cloudflare API v4 Documentation

let project = {
“name”:“First SB Test”,
“build_config”: {
“build_command”: “npm run build”,
“destination_dir”: “dist”,
“root_dir”: “/”
},
“source”:{
“type”: “github”,
“config”: {
“owner”: “githubuser”,
“repo_name”: “myrepo”,
“production_branch”: “master”,
“deployments_enabled”: true
}
}
};

I keep just getting this response. {“result”:null,“success”:false,“errors”:[{“code”:8000000,“message”:“An unknown error occurred”}],“messages”:}

Please help! Thanks.

A post was merged into an existing topic: Pages failed to create new project