Unable to upload webp images

I am using cloudflare CDN on my website where I have an admin panel on the website to upload data on the website which we are serving to our clients,
When the client trying to upload images in webp format there is an error as the uploaded file type is not allowed.
I have tried to debug this error and it’s due to cloudflare, when I remove the website from cloudflare CDN there is no such error everything works fine. But when we are using cloudflare CDN we get this error.
We I can fix the error?

Any screenshots or error message?