my prefect server setup prefect-metrics.waow.tech
python orchestration
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: send manifest as form data, not JSON body

CF Pages Direct Upload API expects multipart form fields.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

+3 -3
+3 -3
flows/atlas.py
··· 82 82 83 83 logger.info(f"deploying {len(manifest)} files") 84 84 85 - # create deployment 85 + # create deployment (manifest must be a multipart form field, not JSON body) 86 86 resp = httpx.post( 87 87 f"{CF_API}/accounts/{CF_ACCOUNT_ID}/pages/projects/{CF_PROJECT}/deployments", 88 - headers={**headers, "Content-Type": "application/json"}, 89 - json={"manifest": manifest, "branch": "main"}, 88 + headers=headers, 89 + data={"manifest": json.dumps(manifest), "branch": "main"}, 90 90 timeout=60, 91 91 ) 92 92 if not resp.is_success: