aws lambda when called gives me internal server error, what am i doing wrong
Unanswered
American Kestrel posted this in #help-forum
American KestrelOP
how can i make a lambda function that can be called from a vercel deployed next.js project
15 Replies
European sprat
this seems more of an AWS question but i'd create an API Gateway that invokes a lambda function then in the nextjs app you hit that API endpoint
American KestrelOP
I did that
but I get internal server error
I'm wondering if its the permissions or something
I'm wondering if its the permissions or something
I'm new to webdev, would appreciate any pointers
European sprat
can you invoke it directly?
like in your browser or postman or whatever
American KestrelOP
no
same, internal server error
European sprat
ah ok well you'll need to consult the AWS docs or somewhere for AWS support
American KestrelOP
hmm
should i use a rest or http endpoint
its a webapp
is that the issue
dyk if there's an aws discord