I am trying to deploy my data model for a react native App on AWS amplify. After creating my model and importing my custom Auth from the cognito user pool i created Ealier. but i keep getting this error "Parameters: [unauthRoleName] must have values." on deployment. Please How do I solve this?
Are you doing it from Amplify Studio?
I faced a similar problem for my React.js project while doing it from Amplify Studio. But using Amplify CLI from the root folder of the project, I could deploy it.
Pro Tip:
In case you have copied the project to a new location/machine,
run amplify configure and amplify init again to ensure there is no
team-provider-info.json does not exist error
I had exactly the same issue. I Ctrl+F the "unauthRoleName" in my amplify project and found out there were some that started with lowercase and some with uppercase and then changing those with lowercase to uppercase fixed the issue!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With