Challenges cloudflare PAT 401 but IMG 200, why?

I try to use Turnstile in mode non-interactive, I need to generate token but I have
HTTP 401 with https://challenges.cloudflare.com/cdn-cgi/challenge-platform/.../pat/....
HTTP 200 with https://challenges.cloudflare.com/cdn-cgi/challenge-platform/.../img/....

So Cloudflare provide a success iimage (with green check) but I have not any token!

Turnstile domain is well-configured, I do not understand what is wrong.

In addition browsers (Chrome and Firefox) say:

Request for the Private Access Token challenge.
The next request for the Private Access Token challenge may return a 401 and show a warning in console.

My question is similar to this topic.

As per the thread you linked:

We return a 401 status as part of the PAT (Private Access Token) challenge, on .../pat/... URLs.

It will work fine regardless.

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