cli icon indicating copy to clipboard operation
cli copied to clipboard

Failed authorization error could be more informative

Open fiveisprime opened this issue 8 years ago • 2 comments

[Error] Authorization failed. Please re-authenticate. is pretty lame. Should be something more like [Error] Authorization failed. You may not have access to perform this action. or similar.

fiveisprime avatar May 26 '16 19:05 fiveisprime

my client is getting this error message as well when he tries modulus deploy he is on Mac, modulus-cli 6.1.1

$ modulus project deploy
Welcome to Modulus
You are logged in as xxxxxxx
[?] Are you sure you want to use project xxxxxxxxx? (yes) 
Deploying Meteor version 1.3.5.1

Compressing project...
5.4 KB written
Uploading project...
Upload progress [                   ] 1%
[Error] Authorization failed. Please re-authenticate.

quangv avatar Jul 22 '16 02:07 quangv

I think I figured it out, you need to give that member deploy access... the default rights for a modulus team member is "react-access" so if you make him a dev or admin, he can deploy

quangv avatar Jul 22 '16 02:07 quangv