Nextjs api routes
Unanswered
ð•·ð–Šð–Œð–Šð–“ð–‰ð–˜ãƒ„ posted this in #help-forum
ð•·ð–Šð–Œð–Šð–“ð–‰ð–˜ãƒ„OP
Hello, i am using nextjs api routes for making a connection to get and upload files from an aws s3 database? but when i try to get a object from the database i get error that "TypeError: stream.pipe is not a function" does nextjs api routes handle aws connection differently because when making a connections straight from the frontend it works just fine? the typeError gives just error lines inside node_modules/@smithy and node_modules/@aws-sdk, it seems like the api route is expecting a stream or what?