CloudFormation stack creation fails when I try to use an existing Cognito User Pool and App client
See original GitHub issueI’m trying to get the stack to work with an existing Cognito user pool and app client. I’m specifying the correct parameters in the template.
The stack creation fails when the User Pool Client Update Handler throws an exception.
Here’s the stack trace:
ERROR InvalidParameterException: Invalid range for token validity. at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/protocol/json.js:52:27) at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20) at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:78:10) at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:688:14) at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10) at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12) at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10 at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9) at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:690:12) at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:116:18) { code: 'InvalidParameterException',
Any ideas what might be causing this?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top GitHub Comments
Thanks Otto and thank you for your great work on this sample. It’s very useful.
Did some more testing, became convinced this is fixed (🤞), merged and released v2.0.16 to the SAR