Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Parameters: [unauthRoleName] must have values

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?

like image 960
tallux tallux Avatar asked Dec 16 '25 21:12

tallux tallux


2 Answers

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

like image 104
Nis Avatar answered Dec 19 '25 12:12

Nis


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!

like image 31
David Perez Avatar answered Dec 19 '25 11:12

David Perez



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!