You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running the ApiGatewayManagementApi I get the following error:
(node:44809) UnhandledPromiseRejectionWarning: InvalidSignatureException: Credential should be scoped to correct service: 'execute-api'.
at deserializeAws_restJson1PostToConnectionCommandError (<project_root>/node_modules/@aws-sdk/client-apigatewaymanagementapi/dist/cjs/protocols/Aws_restJson1.js:287:41)
...
The signingService is currently set to apigateway rather than execute-api.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.
Describe the bug
When running the ApiGatewayManagementApi I get the following error:
The signingService is currently set to
apigateway
rather thanexecute-api
.aws-sdk-js-v3/clients/client-apigatewaymanagementapi/endpoints.ts
Line 82 in 64d2210
Since this is used in SigV4 it results in it being invalid:
https://docs.aws.amazon.com/general/latest/gr/sigv4_signing.html
SDK version number
3.0.0
Is the issue in the browser/Node.js/ReactNative?
node.js
Details of the browser/Node.js/ReactNative version
To Reproduce (observed behavior)
Expected behavior
The request is signed with
execute-api
as the service.The text was updated successfully, but these errors were encountered: