I'm trying to make a photo gallery app that gets its photos from an S3 bucket. The images are fetched through presigned urls. The problem is that when I use the Image
component from Next, I get the following error: "url" parameter is valid but upstream response is invalid
. I can't seem to find the problem. I already configured the domain in the next.config.js file.
Asked
Active
Viewed 638 times
1

Daniel Medina
- 83
- 3
- 7
-
What version of Next.js are you using? – juliomalves Sep 08 '21 at 17:01
-
Yep, that was it – Daniel Medina Sep 08 '21 at 19:50
-
Does this answer your question? [next js image component error "url" parameter is valid but upstream response is invalid](https://stackoverflow.com/questions/67675288/next-js-image-component-error-url-parameter-is-valid-but-upstream-response-is) – juliomalves Sep 08 '21 at 20:10