question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ApiGateway Client not reporting method settings properly

See original GitHub issue

I’m writing a script that checks an API’s throttling settings to make sure they’re not set to account defaults. Here’s the flow of the script:

  • get all APIs
  • for each API get_stages
  • for each stage, check methodSettings

This is where I’m seeing the incorrect response. Sometimes the method settings dictionary is empty and other times it properly reports the throttling settings. Not sure why this is happening even though I can see in the console that the particular stage has throttling settings set up.

One thing to note, the incorrect response is consistently reproduceable. If stage “X” is reporting the empty dictionary, regardless of how many times I run the script, stage “X” still reports with an empty dictionary.

I’m looking at this reference.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
swetashrecommented, Dec 29, 2019

I am closing this issue as the issue is related to service and we can’t do on the SDK side to solve the issue.

0reactions
sowmitranallacommented, Dec 28, 2019

I’m seeing that the service itself is giving an empty response. I’ll post in their forum. Thanks for your help!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolve connection issues with API Gateway private API ...
1. Verify that an API Gateway execute-api VPC endpoint exists in the VPC. · 2. Verify that the client invoking the private API...
Read more >
Fix the Most Common API Gateway Request Errors - Dashbird
Your API Gateway has an IAM role too, and if it's not configured correctly, it can prevent API Gateway from integrating with a...
Read more >
The API gateway pattern versus the direct client-to ...
Understand the differences and the uses of the API gateway pattern and the direct client-to-microservice communication.
Read more >
AWS API Gateway Tutorial | How to Create REST ... - YouTube
Edureka AWS Certification Training - https://www.edureka.co/aws-certification-trainingThis AWS API Gateway Tutorial will help you understand ...
Read more >
APIGateway — Boto3 Docs 1.17.50 documentation - AWS
This is the same name as the method name on the client. ... The endpoint configuration of this DomainName showing the endpoint types...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found