DeDmytro / laravel-cloudflare-images

Provides access to Cloudflare Images API for Laravel projects
MIT License
41 stars 8 forks source link

Incorrect key or account id #11

Closed JmzTaylor closed 1 year ago

JmzTaylor commented 1 year ago

Description:

Suddenly getting the error DeDmytro\CloudflareImages\Exceptions\IncorrectKeyOrAccountProvided: Incorrect CloudFlare Key Or Account ID provided. Please check CLOUDFLARE_IMAGES_ACCOUNT and CLOUDFLARE_IMAGES_KEY to your .env in file

It was working and then it wasn't. I have verified .env file variables and ensured they were correct and even generated new keys and it still isn't working.

JmzTaylor commented 1 year ago

Figured out the issue. This library tosses that error on other failures. The image I was uploading was outside the limitations of Cloudflare images.

https://developers.cloudflare.com/images/cloudflare-images/upload-images/formats-limitations/