Skip to main content

All Questions

1 vote
0 answers
82 views

Reconciling AWS Lambda SES node.js w/ Front End Javascript for emailing

Basically I cannot get a front end website message box to send message to an email as it should. I imagine I could easily do with with normal web hosting but I am using Amazon and trying to learn a ...
Archer Technologies's user avatar
0 votes
1 answer
1k views

{auth_token} not a valid key=value pair (missing equal-sign) in Authorization header: Bearer {auth_token}

I am creating an AWS API Gateway to call my Lambda function. I have created an authentication key that is checked in the lambda function I created, but I keep getting this error: {auth_token} not a ...
craazii's user avatar
0 votes
0 answers
97 views

AWS API gateway won't save settings on 'Enable Cors' on my resource

Proof is in this screenrecording https://www.loom.com/share/5225e46c060a4357ad39531372fe0c8e?sid=6e42106c-35fe-4937-a1eb-b073fb87e3f4 I have enabled/ensured Access-Control-Allow-Origin , Access-...
Azhar Sharif's user avatar
0 votes
1 answer
35 views

CodePipeline Integration with on prem Bitbucket Server

Using steps in https://github.com/aws-samples/aws-codepipeline-bitbucket-integration am trying to integrate CodePipeline with on-premises Bitbucket Server. When I push the code to repo am getting ...
InteligentCloud's user avatar
0 votes
2 answers
164 views

JWT token with API Gateway returns unauthorized all the time

I have an axios call using JWT token that works when I call the EC2 instance directly, but when I call it through the API Gateway, it returns: success: false message: "unauthorized access! ...
Phil's user avatar
  • 327
0 votes
2 answers
862 views

'http://localhost:3000' has been blocked by CORS

I've been trying to connect my react .js file to the back end. I have a API in API Gateway and I created a method and enabled CORS and gave it access method.response.header.Access-Control-Allow-...
Keerthi chowdary Gogineni's user avatar
0 votes
1 answer
2k views

CORS error only when using a URL query string parameter

I have a GET method on a resource using AWS API Gateway, with a URL query string parameter, that isn't required. I have enabled CORS for the resource, and the OPTIONS method is present, and working ...
Yolo_chicken's user avatar
  • 1,401
0 votes
1 answer
259 views

API Gateway - CORS error with query string

I have a GET request through API gateway that works when I test within the API Gateway console, so it seems my Lambda function is okay. All my other methods and resources are working within the API, ...
Yolo_chicken's user avatar
  • 1,401
-2 votes
1 answer
122 views

CORS Error When Using Lambda + API Gateway + HTML Form

I am attempting to set up a POST lambda function using AWS Lambda and API Gateway. The POST is coming from a form that i've set up on my website, i created the form using this tutorial from ...
taine's user avatar
  • 1
0 votes
1 answer
101 views

receiving error: Execution failed due to configuration error: Malformed Lambda proxy response

I am currently working on this API gateway lambda with node runtime upgrade to nodejs 18.x and facing error: Execution failed due to configuration error: Malformed Lambda proxy response. I am ...
Geeta Joshi's user avatar
-1 votes
2 answers
289 views

How to use nodejs's zlib to unzip GzipStream from API gateway?

Im using API gateway from AWS. Data comein is the binary format from somebody's post request. And we know it is created by :https://learn.microsoft.com/en-us/dotnet/api/system.io.compression....
Yiffany's user avatar
  • 352
2 votes
0 answers
383 views

How to mock the v3 aws-sdk's paginators?

I'm migrating some old aws-sdk v2 code to the new v3 and found some pretty neat new paginator logic. I wanted to use that but am having trouble unit testing it which is making this process take much ...
ghidalgo's user avatar
1 vote
1 answer
83 views

Cant get past CORS error for AWS Lambda response on simple HTTP Api Gateway request

I currently have a very simple API request that returns data from MySQL. The current setup is Website calls API Gateway > invokes Lambda > returns data from MySQL Table > displays on website. ...
bryane92's user avatar
-2 votes
1 answer
136 views

I receive a 401 from my axios result when postman result is successful [duplicate]

I created a axios get request in javascript to my apigateway url. const headers = { Authorization: 'Bearer ' + user.value, 'Accept': 'application/json' }; const response = await axios.get('MYAPI', { ...
rickmix's user avatar
0 votes
1 answer
53 views

Insert/Update Lambda works but calling it from API GW fails as the payload is being passed

I've got a Dynamo DB table: Partition key: FingerPrint (String) Sort key: IpAddress (String) LastUpdated (Number) TimesUpdated (Number) Votes (string) And I have this Lambda to insert or update items:...
Jeremy Thompson's user avatar

15 30 50 per page
1
2 3 4 5
17