At the moment I think I have a foundational misunderstanding of how to extract/pass data from lambda functions & I'm seeking clarification  Example: Let's say I want to pass some data to a lambda function ie {"hello":"world...
I'm encountering a 403 status code with an UnrecognizedClientException in the x-amzn-errortype header of the response to my API Gateway GET Request using the generated Javascript SDK. The Resource being called utilizes IAM Auth which differentiat...
I couldn't find any documentation that showed how to do this so I tried my best to figure it out (is this not a common use case)? I've set up my resource to use IAM authentication, set up CORS, etc. Then I deployed it, and downloaded the gene...
I have created sample GET and POST APIs on Amazon API Gateway following their official documentation. I have generated JS SDK for these APIs, which I am using to call these APIs from a client-side JS file hosted on S3. This works flawlessly without a...
I am trying to access to my AWS API Gateway from a user connected with Facebook.  First, I tried to use a Cognito with a simple userpool (without Facebook login), my user can login by sending a username and a password, Cognito send me back an accessT...
I need to invoke an AWS Lambda function from within a Google Sheet following any changes to the spreadsheet. I have a Google App Script that executes when any changes are made to the spreadsheet but need an http request to trigger a Lambda function....
I am attempting to set up a POST lambda function using AWS Lambda and API Gateway. This POST should be callable from a modern browser using Javascript, so naturally, I need to enable CORS for this. Unfortunately, no matter what I do, the server is re...
Every time I have a syntax error or I just want to send a custom error in my AWS Lambda function, I get the same 502 Bad Gateway response (Internal server error).  I tried that simple code:  module.exports.saveImage = (event, context, callback) =>...
I've created a Web Socket Api using API Gateway and I'm able to connect clients to it.  Also, I'm able to send messages to a connected client by specifying its ConnectionId and using the following code:  const AWS = require('aws-sdk&#...
My function's config:  register:   handler: handlers.register   events:     - http:         integration: lambda-proxy         path: register         method: post         cors: true   OPTIONS is returning these headers to the browser:  access-cont...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.