Cloudfare cookie __cf_bm issue

I’m getting this on a Set-cookie:

It says “This attempt to set a cookie via a Set-Cookie header was blocked because its Domain attribute was invalid with regards to the current host url”.

The Status Code for the api call is 200, but not 200 OK, and I’m only getting “This request has no response data available” in the response.

I don’t know what to do about that cookie, because I don’t have control over that cookie considering it doesn’t show when running the application locally.

Hi there,

The set-cookie error shouldn’t be causing the issue of your response having a blank page. The error occurs because the domain is a public suffix, so it can’t share cookies across subdomains, which is where your Render service is served from. You only see this specific message in Firefox, Chrome or Safari don’t give you this error. If you switch to using a custom domain for your service, this error will go away.


Render Support, UTC+10 :australia:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.