Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
57 views

I am facing difficulties consuming an API in Angular that returns an Excel file encoded in Base64. The API is configured in AWS API Gateway and uses a Lambda function to generate the file. Although ...
Diego Lins's user avatar
0 votes
0 answers
27 views

I have the following pulumi go code which uses AWS Integration to start a StepFunction. func DealRequestTemplate(stateMachineArn pulumi.StringInput) pulumi.StringInput { return pulumi.Sprintf(`#...
khinester's user avatar
  • 3,522
-3 votes
0 answers
79 views

In order to enforce query params validation, we have to assign Request validator in the method request. In my case I want to enforce required validation to startDate and endDate query params (Validate ...
Sazzadur Rahman's user avatar
0 votes
0 answers
55 views

I have this api gateway in my main stack: api_gateway = _api_gw.LambdaRestApi( self, f"{construct_id}-gw-api", handler=lambda_hello, rest_api_name=f"gw-api{env_ext}"...
Ahron Gold's user avatar
0 votes
0 answers
42 views

I’m running a FastAPI service in Kubernetes that accepts multipart/form-data uploads and stores files in S3. The upload endpoint works fine when I call it directly inside the cluster using the service ...
swetha's user avatar
  • 3
0 votes
1 answer
86 views

I’m developing a Spring Boot application deployed behind an AWS API Gateway (HTTP API v2) with Lambda (handler based on SpringBootLambdaContainerHandler and HttpApiV2ProxyRequest). I’m using OAuth2 ...
nekatte's user avatar
  • 11
0 votes
1 answer
61 views

I have been modifying an AWS CDK v2 stack (Python) to generate an API Gateway v2 stage with logging enabled. Sounds simple, there are countless examples on the internet, and countless agentic coding ...
Bit Fracture's user avatar
0 votes
0 answers
20 views

According the Customize HTTP API access logs, the logging variable $context.awsEndpointRequestId is populated from x-amz-request-id or x-amzn-requestId header. I am directly hitting the my HTTP ...
gowthz's user avatar
  • 469
1 vote
1 answer
128 views

I'm having issues trying to get Serverless Framework (using the Offline plugin) to be able to use the ApiGatewayManagementApiClient to send WebSocket responses offline. It's probably just using the ...
freebie's user avatar
  • 1,677
1 vote
0 answers
53 views

I have tried to import mongodb into my lambda function and I keep getting an error message when I attempt to test it. All the recommended resolutions I have seen assume I am working in an environment ...
Daniel DeLuca's user avatar
1 vote
1 answer
89 views

As the title says, I can get all API keys in API Gateway that start with the contents of nameQuery, but is it possible to get all API keys that don't match nameQuery? I'm looking to filter out some ...
philMarius's user avatar
0 votes
0 answers
44 views

My input to API Gateway looks like this: { "detail": { "stuff": "goeshere" }, "detail-type": "ApiGatewayTest", "source&...
Jesse Barnum's user avatar
  • 6,935
0 votes
1 answer
29 views

According to the documentation: If neither DefinitionUri nor DefinitionBody are specified, SAM will generate a DefinitionBody for you based on your template configuration. However, I can't seem to ...
Brandon Lee's user avatar
1 vote
2 answers
82 views

The AWS docs here state that "You can use parameter mapping in your integration request for proxy and non-proxy integrations, but to use parameter mapping for an integration response, you need a ...
MacGruber's user avatar
  • 973
0 votes
0 answers
51 views

My step function outputs: { "statusCode": 400, "body": { "error": "Email already associated with another account" } } (Or ...
Ethan's user avatar
  • 2,097
0 votes
0 answers
62 views

This is my first time deploying a web application using AWS and I could successfully see the static pages but not dynamic pages now. I've read that when CloudFront gets a header with authorization, it ...
Himawari.Ksm's user avatar
-1 votes
1 answer
59 views

So Im trying to deploy some terraform configuration into localstack. Im running it inside WSL so linux based, The problem is that for testing now the configuration in terraform creates an S3 bucket ...
HashtagForgotName's user avatar
0 votes
0 answers
40 views

I am having difficulty invoking a sagemaker endpoint from API gateway. The API gateway API is a REST API (POST method type) with Sagemaker Runtime as the Integration type. The HTTP method in the ...
Eddy C's user avatar
  • 1
0 votes
1 answer
130 views

I'm working on a Next.js frontend that sends a POST request to an AWS Lambda function via API Gateway (REST API). The Lambda function is supposed to receive an array of objects and return a modified ...
Vikrant Chavan's user avatar
2 votes
1 answer
128 views

I have a simple Python script that makes a GET request to a REST API hosted in AWS API Gateway. To authorize the request, I use the temporary credentials obtained by assuming a role (a role that is ...
atemandri's user avatar
0 votes
0 answers
34 views

I'm trying to figure out how to handle caching in the most appropriate way for my APIs which are handled via Lambdas hooked up to API Gateway using aws_proxy and custom domains. I read that a hidden ...
Mr Pablo's user avatar
  • 4,186
0 votes
1 answer
140 views

I'm working on an AWS API Gateway setup. I need to dynamically set the Access-Control-Allow-Origin header in the response based on the incoming Origin header from the client request. This is necessary ...
Lakshitha Samod's user avatar
1 vote
1 answer
59 views

I setup a Websockets API with the AWS API Gateway service and it‘s working fine for the stage staging. I‘ve setup a custom domain name for thr websockets API, like so: staging stage, path /staging ...
DevelJoe's user avatar
  • 1,552
0 votes
1 answer
61 views

I'm working with AWS Api Gateway integrated with SQS. I would like to catch a header from the request to the Api Gateway and map it to the body, so it becomes part of the message the SQS will recieve. ...
Federico Crovetto's user avatar
1 vote
1 answer
115 views

I'm trying to apply an AWS WAF WebACL to an edge-optimized API Gateway, but I'm running into some confusion around how this is supposed to work, given the architecture. As I understand it, edge-...
Subhashree Dhal's user avatar
0 votes
0 answers
81 views

Problem Description: I'm encountering persistent 403 Forbidden errors when trying to use WebSocket connections with AWS API Gateway. We recently migrated from ca-central-1 to us-east-1 region, and ...
Ruturaj Vaidya's user avatar
0 votes
0 answers
43 views

I've created a Service Web Hook on Azure DevOps so I can hit an AWS API Gateway, then send a message to an SQS and invoke a lambda function. The whole process works fine. Hit from Azure is being done, ...
Federico Crovetto's user avatar
0 votes
0 answers
74 views

I have an AWS API Gateway resource /foo with a GET method. It has a Lambda integration, which for the purposes of this question simply returns bar. However I want the API to be protected, so I have ...
Garret Wilson's user avatar
1 vote
1 answer
78 views

I have the following Resource Policy defined for my "REST API" in AWS API Gateway: I tried the following appraoches: { "Version": "2012-10-17", "Statement": ...
F16R's user avatar
  • 67
0 votes
0 answers
77 views

What is the issue? We use AWS API Gateway for integration with the AWS S3 using REST calls. In the API Gateway transformation we haven't supported HTTP_HEADERS yet. And we don't want to roll out ...
Zahid Khan's user avatar
  • 3,375
0 votes
0 answers
22 views

trying to create a message alert from alertmanager(my instance is having pod restarts in production namespace), using lambda to trigger SNS messaging in case the alert jumps in. so its- alertmanager(...
Arush's user avatar
  • 25
0 votes
1 answer
65 views

Trying to create and API Gateway with lambda and attach the authorizer to it. The api and lambda creation works perfectly, but when I add the authorizer section, I get the following error: Error: ...
Eduard Grinberg's user avatar
0 votes
0 answers
107 views

I am using an AWS proxy ApiGateway that is mapped to a lambda function that is hosting a REST Api. Everything is wired up and functioning, except I see that responses from the server are remapping my '...
Roger Hill's user avatar
  • 4,236
1 vote
0 answers
62 views

I'm trying to configure API Gateway to provide a POST method that sends the StartQuery action to CloudWatch Logs but I just seem to get 404 errors in the log output as when I use Edit integration ...
deejbee's user avatar
  • 1,258
0 votes
1 answer
34 views

I have a CloudFormation setup that I hope to use to automatically index documents in OpenSearch. I've set up an ingestion bucket in S3; when a file's dropped in the bucket, it triggers a Lambda ...
Tom Cardoso's user avatar
1 vote
1 answer
104 views

When creating an API endpoint on the AWS console, 2 options exist: Option A: A "REST API" with "API endpoint type" of "Regional" or "Edge-optimized" or "...
Ram's user avatar
  • 951
0 votes
0 answers
54 views

I have a Node.js server hosted on AWS Fargate, listening on port 8080. It's responsive and working as expected. The server is connected to a WebSocket API, and I’ve tested both tcp:8080 and http:8080 ...
michel jonson's user avatar
0 votes
1 answer
65 views

I have an AWS Lambda function connected to an API Gateway (Regional HTTP API) and my domain is linked to CloudFront. However, my application's canonical URL is being set to the API Gateway domain ...
Aren Sade's user avatar
  • 574
0 votes
1 answer
54 views

I have two apps in AWS. One hosted in AWS S3 and acts as an origin for an AWS CloudFront distribution. Another one hosted in AWS Amplify. I would like to, based on a specific path, to redirect ...
Felipe Peña's user avatar
  • 2,848
0 votes
0 answers
62 views

Context I have an api-gateway with a custom authorizer that validates a JWT. The authorizer gives back broad resource permissions. Something like the following: { "Version": "2012-10-...
NebulaFox's user avatar
0 votes
0 answers
45 views

How do I return 401 to the client, based on the statusCode returned from the lambda? (non-proxy integration). How do I return the headers from the headers field? (for 401 and 200) return { "...
Rony Tesler's user avatar
  • 1,396
0 votes
1 answer
82 views

I have this template: #set($context.responseOverride.header.A = 'ab "cd"') In Postman I see a header A with value "ab \"cd\"". I want to see in Postman a header A with ...
Rony Tesler's user avatar
  • 1,396
0 votes
1 answer
64 views

I am publishing an API Gateway documentation using aws_api_gateway_documentation_version as follows: resource "aws_api_gateway_documentation_version" "docs_version" { version ...
José Daniel Montoya Salazar's user avatar
0 votes
0 answers
38 views

I have the following code which takes a POST input and writes the data in a DynamoDB table. It works if I don't add the validation to check if the key:value pair exists. Here is the code: const ...
khinester's user avatar
  • 3,522
0 votes
1 answer
60 views

I am configuring mTLS for an API Gateway, my trustore.pem only has one cert. I've created another CA, signed a cert with that CA and issued the curl request with --key and --cert params, and it went ...
Gonzalo's user avatar
  • 379
0 votes
0 answers
136 views

Been working on this semi-secure (will add HTTPS later) API Gateway. I've managed to deploy the TF into the cloud, and it built fine. My main issue currently is that when I try to use the Invoke URL (...
veila's user avatar
  • 93
1 vote
0 answers
82 views

How should one use the HttpAlbIntegration for HttpApi on API Gateway v2 library? At current, my application does indeed build and deploy. However, when I query requests.get(endpoint/ping) the response ...
jbuddy_13's user avatar
  • 1,238
2 votes
2 answers
120 views

In my current project I want to call a long running Lambda function from an API Gateway asynchronously. All resources are defined in a SAM template. I tried to follow the instructions in https://docs....
Nantoka's user avatar
  • 4,283
1 vote
0 answers
86 views

The log format in AWS Api Gateway is set to { "requestTime": "$context.requestTime", "requestId": "$context.requestId", "httpMethod": &...
Tanu's user avatar
  • 1,712
0 votes
0 answers
48 views

I have created an API using AWS API Gateway, which is protected by an Amazon Cognito User Pool. I need to obtain a token from Amazon Cognito to invoke or access this API from my Salesforce Apex class. ...
Valli69's user avatar
  • 10k

1
2 3 4 5
156