aquasecurity / aquasecurity/saas-api-samples

Internal server error with valid key, secret, and scan id

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
13
Forks
21
PR merge metrics
No merged PRs in 30d

Description

For either scan_details.py or scan_details_p3.py if I change the key, secret, and scan id, I get...

{"message": "Internal server error"}

and the headers are...

{'Content-Type': 'application/json', 'Content-Length': '36', 'Connection': 'keep-alive', 'Date': 'Wed, 29 May 2019 18:12:35 GMT', 'x-amzn-RequestId': '54a6bce2-823d-11e9-bfde-51de89216955', 'x-amz-apigw-id': 'adS-wGp3IAMFvRg=', 'X-Cache': 'Error from cloudfront', 'Via': '1.1 b4462bd98dd9186cca8c54d37f70d629.cloudfront.net (CloudFront)', 'X-Amz-Cf-Id': 'rQlaKKypuiM46Kp5uZacMwGqDUXp3mjmMYj2NqTTWsoPzPlmZ_0ApQ=='}

Contributor guide

Open the contributing guide

Research direction

Start by comparing scan_details.py and scan_details_p3.py, then reproduce the request with the reported key, secret, and scan ID while capturing the request and response details. Trace where the API returns the generic Internal server error; done means the sample request completes successfully or the failure is documented with a specific cause.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.