Create project with CF API - Incomplete info

When I create a new CF Pages project using the API:
https://developers.cloudflare.com/api/operations/pages-project-create-project

The request is successful but when I go to the dashboard I see that the "Builds & deployments" information is missing. And I am sending it in the payload as requested by the API.

The sent payload looks something like this:
payload = {
  "build_config": {
      "build_command": f "yarn build --filter={APP_NAME}",
      "destination_dir":"/something",
      "root_dir":"/",
  },
  "canonical_deployment": none,
  "deployment_configs": {
    "preview": {
      "compatibility_date": "2022-01-01",
      "compatibility_flags": [ "url_standard"],
      "env_vars": secrets_pages,
    },
    "production": {
      "compatibility_date": "2022-01-01",
      "compatibility_flags": ["url_standard"],
      "env_vars": secrets_pages,
    },
  },
  "latest_deployment": none,
  "name": f"{APP_NAME}-{HASH}",
  "production_branch": "something".
}


I already made sure that all variables are parsed properly and the resulting payload has the desired data. But I still can't see that "Builds & deployments" window when I go to open the dashboard in CF. All this is running in a github action for particular issues of the repository where the applications live.
Interact with Cloudflare's products and services via the Cloudflare API
Was this page helpful?