At some point in the last few days, AJAX posts generated from iPhone posted to my Heroku app seem to be being rejected by Cloudflare. I’m getting a 400 error: Failed to load resource: the server responded with a status of 400 ()
This does NOT happen on desktop - only iPhone, from both Safari and Chrome browsers. I don’t have Android to test.
This post does NOT make it to the Heroku server. It’s rejected at Cloudflare and the response below is returned to the browser. There is literally zero useful information.
Please help - our app is effectively down, and there’s nobody to call at Cloudflare! Cloudflare response below:
:authority: URLhidden dot com (thanks for this stupid rule, Cloudflare)
Content-Type: multipart/form-data; boundary=----WebKitFormBoundarywfKELRjHRSGIij7z
Origin: URLhidden dot com
Host: URLhidden dot com
Accept-Encoding: br, gzip, deflate
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1
Referer: URLhidden dot com/path
Date: Wed, 16 May 2018 21:55:07 GMT
MIME Type: multipart/form-data