Hello Dify team,
I am using Dify API in an AWS Lambda environment. Recently, I encountered a Cloudflare Error 1010 (Access Denied) when calling the API.
After some debugging, I found that Cloudflare blocks the request because of the default User-Agent header sent by the Lambda client. I managed to fix it by manually spoofing a browser’s User-Agent, but I believe this is something that should be handled on the server/WAF side for a better developer experience.
Could you please check if your Cloudflare security settings can be adjusted to allow legitimate API calls from common cloud environments like AWS?
Thanks!