Reputation: 31
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?
Upvotes: 3
Views: 2680
Reputation: 424
I was having a similar issue.
Here's what helped:
Upvotes: 1
Reputation: 488
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!
Upvotes: 1
Reputation: 499
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
Upvotes: 1