question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error thrown Expecting a Boolean got string_input_userpoolClientGenerateSecret

See original GitHub issue

Describe 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:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
nikhnamecommented, Dec 11, 2019

Hey @purefan! Do you have any updates on your PR for this? If not thats completely fine, I’m currently looking into this.

0reactions
github-actions[bot]commented, May 26, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found