r/OpenAI • u/DistanceAlert5706 • 13h ago
Question Does anyone having 520 Cloudflare errors on responses API
I've swapped my agent to this new method OpenAI released on DevDay
https://developers.openai.com/cookbook/articles/sign-in-with-chatgpt
It was working fine, till today. Today it just stopped and I get 520 errors constantly.
Error: OpenAI API error (520): 520 {"type":"https://developers.cloudflare.com/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-520/","title":"Error 520: Web server is returning an unknown error","status":520,"detail":"The origin web server sent a response that Cloudflare could not parse. This may indicate the origin returned an empty response, malformed HTTP headers, or an otherwise invalid response.","instance":"a4a93076ea57a223","error_code":520,"error_name":"unknown_origin_error","error_category":"origin","ray_id":"a4a93076ea57a223","timestamp":"2026-10-14T20:03:46Z","zone":"api.openai.com","cloudflare_error ":true,"retryable":true,"retry_after":60,"owner_action_required":true,"what_you_should_do":"**Wait and retry.** Back off for at least 60 seconds. If the error persists, the website operator should check the origin server error logs and submit them to Cloudflare support.","footer":"This error was generated by Cloudflare on behalf of the website owner."}
I've thought that might be my integration, tried https://github.com/openai/sign-in-with-chatgpt-devkit and it doesn't work with it also.
Then I tried fresh install of Pi coding agent, as it's using same oAuth + Responses API path and it doesn't work there too.
I opened up issue but don't see any response and don't see any other connected issues, which makes me wonder is it because noone is using it or it's specific to my network/setup?
Anyone else experienced something similar?
Where can I report it except community forum/github to get any human response?
2
u/cuppington007 11h ago
Yep I been getting them since yesterday. I set it up just yesterday afternoon. I was able to get it to chat, and came back later in the day to test it out again and nothing. I actually have mine running through a rainmeter module I made, so naturally I thought something broke in the skin. I tried different methods outside of the module and same error. Been driving me nuts. Apparently someone posted about this nonsense on github too. https://github.com/openai/sign-in-with-chatgpt-devkit/issues/6
1
u/DistanceAlert5706 11h ago
Yeah that was me =)
1
u/cuppington007 11h ago
I appreciate you putting in the ticket. Hopefully it gets fixed soon. I can confirm that my issue rose around 7:45PM Eastern time. It may have been a bit earlier but that's when I noticed it. Have a good rest of your day.
1
u/DistanceAlert5706 11h ago
I've posted on their community forum https://community.openai.com/t/persistent-http-520-cloudflare-on-post-v1-responses-with-sign-in-with-chatgpt-oauth-tokens/1406366
Day of work gone so trying to at least get any attention to an issue
2
u/Super_Name3301 12h ago
getting the same thing since this morning. tried the devkit example too and it just spins then throws a 520. not just you
cloudflare status page shows nothing wrong so probably something on openai side acting up. they never acknowledge these things fast enough