Elliott-Chong / chatpdf-yt

https://chatpdf-elliott.vercel.app
694 stars 284 forks source link

Error 301 Redirect in AWS S3 #28

Closed kalilfagundes closed 11 months ago

kalilfagundes commented 11 months ago

Error 1:

In console: image

I get the error and then I go to upload page again.

Error 2: Also getting some Hydratation errors, but it does not seem critical.

Unhandled Runtime Error Error: Hydration failed because the initial UI does not match what was rendered on the server.

Warning: Expected server HTML to contain a matching

in .

See more info here: https://nextjs.org/docs/messages/react-hydration-error

Has anyone faced similar issues?

kalilfagundes commented 11 months ago

I had to change the Amazon server region in src/lib/. Changed s3 file and s3-server file.