Error thrown Expecting a Boolean got string_input_userpoolClientGenerateSecret
See original GitHub issueDescribe the bug
Running DEBUG=* amplify mock
? Are you sure you want to continue? Yes
2019-11-06T10:48:58.344Z - debug: Error thrown: crit: Expecting a Boolean, got 'string_input_userpoolClientGenerateSecret' (Resources > UserPoolClient > Properties > GenerateSecret)
2019-11-06T10:48:58.347Z - debug: Error thrown: crit: Expecting a Boolean, got 'string_input_allowUnauthenticatedIdentities' (Resources > IdentityPool > Properties > AllowUnauthenticatedIdentities)
To fix it I edited the cloudformation-template.yml file:
allowUnauthenticatedIdentities:
Type: String
+ AllowedValues: [true, false]
userpoolClientGenerateSecret:
Type: String
+ AllowedValues: [true, false]
I believe these are set here and here
Can open a PR if wanted
Amplify CLI Version 3.17.0
To Reproduce
amplify mock
Expected behavior Not to show errors
Desktop (please complete the following information):
- OS: Ubuntu
- Node Version: v10.17.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Solved: Invalid argument type (Control). Expecting a boole...
Solved: Hi There, I have a Textsearbox where I need to search a value in my gallery. And I am getting this error...
Read more >"Expected type boolean but got string" error seen in APIKit ...
When using Mule 3.x APIKit, we face issues in some versions where certain query params selectively throw an error. How to handle this...
Read more >Boolean inputs are not actually booleans · Issue #1483 - GitHub
Describe the bug Boolean type inputs do not work as expected; they are strings instead of booleans, even when surrounded by ${{ }}...
Read more >How to solve ERROR - Expected boolean value (or no value ...
I'm training a model to use for object detection using YOLO-darkflow but i get this error. How can i solve it. 2020-01-24 11:37:37.478285:...
Read more >Power Apps Troubleshooting Error Messages - YouTube
Do you want to get better at Troubleshooting in Power Apps? Then this is your video. We explore a whole bunch of common...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @purefan! Do you have any updates on your PR for this? If not thats completely fine, I’m currently looking into this.
This issue has been automatically locked since there hasn’t been any recent activity after it was closed. Please open a new issue for related bugs.
Looking for a help forum? We recommend joining the Amplify Community Discord server
*-help
channels for those types of questions.