I am getting a 413 error when uploading a 20MB Jpeg image using curl

I am getting a 413 error when uploading a 20MB Jpeg image using curl.

Request
curl -X POST -F [email protected]/1.jpg -H “Authorization: Bearer ” https://api.cloudflare.com/client/v4/accounts/9850e6a17397cc8eeaaf3b082f02eaf5/images/v1

Response
{“result”:null,“success”:false,“errors”:[{“code”:7011,“message”:“Request entity is too large”}],“messages”:}

Images has a max size of 10 MB - Supported image formats and limitations · Cloudflare Image Optimization docs

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