Always received http 500

My server’s IIS logs show error code 401, but both the client and Postman receive a 500 error(internal server error) when requesting the interface. Only when testing with a client locally can I correctly receive a 401. Why is this happening?


Hi there,

A 401 means the request was not authorized. I would venture to say that if you fix the 401 at your origin, the 500 should be resolved on Cloudflare side.

Take care.



Thanks for your reply. I wonder why the client receive 500 instead of 401. Actually the client want to detect the 401 error so he can know to get new authorization. So I try to figure out what block the 401 error :smiling_face_with_tear:

Best regards!