Skip to main content

All Questions

Tagged with
0 votes
1 answer
54 views

Rewrite ExpressJS Function to AWS Lambda (Multipart-Uploader)

Does someone have an idea, how to rewrite this Express.js function to AWS Lambda for Node.js 18? const upload = multer() // Receive chunk and write it to S3 bucket app.post('/upload', upload.single(&...
texi's user avatar
  • 48
1 vote
1 answer
418 views

exec format error in go aws-lambda with terraform

I am actually facing a very rare issue in golang lambda invocation using terraform. So basically i am deploying all my resources using terraform like lambda, api gateway with golang. issue is when i ...
ibrahim jamil's user avatar
1 vote
0 answers
103 views

Multipart request is failing with error "Required argument [CompletedFileUpload attachment] not specified" on AWS lambda

We have Upload service lambda which is integrated to API gateway exposing rest API endpoint. AWS lambda has 6 MB limit on file being upload , so we decided to use multipart restful upload request ...
Kartik Kodag's user avatar
0 votes
1 answer
467 views

Discord won't let me set up this lambda as an endpoint for HTTP POST interactions

I want to set up a new Discord bot to interact via an HTTP endpoint, but I can't get it to work. (aws lambda in golang, exposed through the aws api gateway) Here's the main function : func handler(...
David Vergison's user avatar
0 votes
1 answer
68 views

How does $.post send request from S3 index.html? is it get or post request?

S3 static hosting index.html file has 2 buttons - A , B. It's a simple app for voting, after clicking on either button it sends through API Gateway a value "a" or "b" to lambda ...
ERJAN's user avatar
  • 24.5k
0 votes
1 answer
495 views

Unable to invoke API gateway from Lambda {'message':'Forbidden'}

We have exposed a Lambda A through public API on the API gateway regional endpoint. We have also created the API key. We are able to call this API from the local desktop since this is a public API. ...
Nitin G's user avatar
  • 834
0 votes
1 answer
244 views

AWS API gateway not passing data into lambda function upon invocation

I am new to APIs and Lambda, but what I am trying to do is perform a PUT method through my API and invoke a lambda function to update my DynamoDB table. I have tested my lambda function and it works ...
Noah harris's user avatar
-5 votes
1 answer
679 views

Lambda function not pushing data into DynamoDB table

I'm running a NodeJS lambda function which is triggered by API Gateway. My goal is to push the data and then send a status response. I think the lambda stops running before the insertData function ...
Gustavo Iosimura's user avatar
2 votes
0 answers
562 views

No 'Access-Control-Allow-Origin' header for axios post request to aws lambda function

I'm having trouble making a post request to a lambda function with axios in my web app. I get back the error message "Access to XMLHttpRequest at 'lambdalink' from origin 'http://localhost:4200' ...
Blake's user avatar
  • 103
-1 votes
1 answer
355 views

CORS not working with Lambda Proxy with container runtime

I'm trying to CORS to my lambda running in a docker image. I've added the headers to my lambda response like so return { "statusCode": 200, "headers": { ...
Hyden Polikoff's user avatar
1 vote
0 answers
289 views

Downloading pdf from S3 via Lambda and API Gateway works on POSTMAN but failed in NodeJs Axios with Chrome error - Failed - Network error

I can download a pdf from S3 via Lambda and API Gateway successfully. However, I used suggested NodeJs - Axios. It failed with "Failed - Network error". const downloadSearchResult = async (...
Rico's user avatar
  • 11
0 votes
1 answer
109 views

Retrieve records in DynamoDB by position

We have an application where the client needs to request some information stored on DynamoDB filtering by date. We have the service created with API Gateway and a Lambda retrieving the corresponding ...
FranG91's user avatar
  • 83
0 votes
2 answers
2k views

Attach multiple HTTP methods on API Gateway resource using AWS_PROXY integration

How can I attach the PUT and DELETE method on an API Gateway resource using AWS_PROXY integration? The PUT method is getting overridden by the DELETE method in lambda triggers. Is there a way to have ...
Madeeha's user avatar
  • 183
0 votes
1 answer
199 views

Want response in JSONP format instead of JSON in nodejs using aws lambda and api gateway

Want response in JSONP format instead of JSON in nodejs using aws lambda and api gateway. my lambda code is: var axios = require("axios"); exports.handler = async (event) => { return ...
iTeam Technology's user avatar
1 vote
0 answers
173 views

Automated integration testing in lambda support (golang, serverless)

So I have a web app running in serverless. It spins up a bunch of lambdas and then a 'test' lambda is invoked at a later stage of our pipeline to run some api tests against the other lambbas. It ...
Bloke's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
10