Uploadthing images won't open

For my e-commerce project, I am using vercel and amplify to have the experiance of both of them. I am using uploadthing to store my images. until yesterday, everything was forking fine. yesterday, when i upload new photos to the system, it uploads it do uploadthing without any issue. however when i open the website on vercel, the images won't show for some reason. on amplify and when i host it on my laptop, everything is totally fine without any issue. I am getting this error from vercel only. And even in vercel, old pictures are getting rendered perfeclty. the only problem is with the new images i uploaded.
No description
4 Replies
BouncerU
BouncerU3w ago
@şiar_619 It could be cache problem. Vercel aggressively caches content, so your app might be serving an older version without recognizing new images. try to clear cache or redeploy manually on vercel dashboard Also try to compare old images vs new images. if you're using third party image url, you may need to add domain on config file
şiar_619
şiar_619OP2w ago
yeah i use uploadthing how can i add the domain to config file
şiar_619
şiar_619OP2w ago
can it be because i exceed the free tier image optimization limit?
No description
BouncerU
BouncerU2w ago
it could be check error response. If they return 403 Forbidden or 429 Too Many Requests, you’ve likely hit the limit. you need to increase if you're using nextjs,you can simply do like this to next.config.js module.exports = { images: { domains: ['example.co'], }, };

Did you find this page helpful?