-
Notifications
You must be signed in to change notification settings - Fork 642
Open
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issue
Description
Checkboxes for prior research
- I've gone through Developer Guide and API reference
- I've checked AWS Forums and StackOverflow.
- I've searched for previous similar issues and didn't find any solution.
Describe the bug
When trying to connect to a AWS PCA, if there is missing authorization, the result appears like the following:
Uncaught TypeError TypeError: Converting circular structure to JSON
--> starting at object with constructor 'IncomingMessage'
| property 'req' -> object with constructor 'ClientRequest'
--- property 'res' closes the circle
at eval (repl:1:6)
With the version 3.721.0 it worked but with the following ones it started to bug.
Regression Issue
- Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/package-name@version, ...
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
"@aws-sdk/client-acm-pca": "3.901.0"
Reproduction Steps
- Create an User with missing authorizations;
- Try to issue an AWS certificate;
- While debugging, get an error like the following:
Uncaught TypeError TypeError: Converting circular structure to JSON
--> starting at object with constructor 'IncomingMessage'
| property 'req' -> object with constructor 'ClientRequest'
--- property 'res' closes the circle
at eval (repl:1:6)
- Notice that it comes from JSON.stringify(result), line 37 from "node_modules/@smithy/util-waiter/dist-cjs/index.js".
Observed Behavior
It appears an error like the following:
Uncaught TypeError TypeError: Converting circular structure to JSON
--> starting at object with constructor 'IncomingMessage'
| property 'req' -> object with constructor 'ClientRequest'
--- property 'res' closes the circle
at eval (repl:1:6)
Expected Behavior
It should appear a normal String error message.
Possible Solution
No response
Additional Information/Context
No response
Metadata
Metadata
Assignees
Labels
bugThis issue is a bug.This issue is a bug.p2This is a standard priority issueThis is a standard priority issue