You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Cloudflare Credentials 400 Bad Request #830
I have searched the existing issues and found no duplicate.
Problem description
When I try to connect my Cloudflare Account via Settings -> Credentials I get the error Cloudflare answered 400
On the Browser Console I see this:
Failed to load resource: the server responded with a status of 400 (Bad Request) https://my-openship-url/api/proxy/api/credentials
POST https://my-openship-url/api/proxy/api/credentials 400 (Bad Request)
I verified that the token is working directly on the server where Openship is running at that worked
curl -X GET "https://api.cloudflare.com/client/v4/accounts/12345/tokens/verify" \
-H "Authorization: Bearer this_is_the_token"
Steps to reproduce
Create token on Cloudflare
Go on Openship to Settings -> Credentials
Enter a name and the token
see the 400 error as toast and in the browser console
Environment
OpenShip version/commit: 0.7.1
Deployment method: Self-hosted server
Operating system: Ubuntu 26.04 LTS
Browser (if applicable): Arc
Logs and screenshots
Failed to load resource: the server responded with a status of 400 (Bad Request) https://my-openship-url/api/proxy/api/credentials
POST https://my-openship-url/api/proxy/api/credentials 400 (Bad Request)
Found the problem on my end. The Token has to be created from the user profile on cloudflare and not on the Account API Tokens. This has to be better documented
Activity
JustNZ commentedon Sep 4, 2026
Found the problem on my end. The Token has to be created from the user profile on cloudflare and not on the Account API Tokens. This has to be better documented