Could not route to /client/v4/accounts/***/pages/projects, perhaps your object identifier is invalid

I tried to deploy react app in cloudflare pages in github action but I got this error Could not route to /client/v4/accounts/***/pages/projects, perhaps your object identifier is invalid? . This is my github action workflow
- name: Publish Static Files
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: pages deploy ./dist --project-name=backoffice-stage --commit-dirty=true
- name: Publish Static Files
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: pages deploy ./dist --project-name=backoffice-stage --commit-dirty=true
2 Replies
Walshy
Walshy•3mo ago
Your account ID is very likely incorrect Check that it is actually correct, it should be a 32 char hex string (e.g. mine is 4e599df4216133509abaac54b109a647)
ccfiel
ccfielOP•3mo ago
Thanks @Walshy | Out of office its now working 🙂
Want results from more Discord servers?
Add your server