I am trying to login on ionic terminal but I can't even my username and password is correct


#1

I am trying to login on my ionic account on terminal but they always display me a error message
Request: POST https://api.ionic.io/login
Response: 422
Body:
{ type: ‘UnprocessableEntity’,
details:
[ { error_type: ‘invalid’,
parameter: ‘password’,
errors: [Object] },
{ error_type: ‘invalid’, parameter: ‘email’, errors: [Object] } ],
message: ‘An error occurred while validating the request parameters.’,
link: null }

even my username and password is also correct


#2

Post your ionic info please.


#3

hello my ionic
username shubhamsharma847
email shubhamsharma847@yahoo.com
tell me if need enythink else


#4

That means the output of ionic info on your command line.


#5

there output of command ionic info

global packages:

@ionic/cli-utils : 1.1.2
Ionic CLI        : 3.1.2

System:

Node       : v6.10.3
OS         : macOS Sierra
Xcode      : Xcode 8.3.2 Build version 8E2002 
ios-deploy : not installed
ios-sim    : not installed

#6

That looks good. And inside a project folder?


#7

Did you login first with: ionic login ?


#8

its first time to login on terminal


#9

inside project folder info is this

global packages:

@ionic/cli-utils : 1.1.2
Cordova CLI      : 7.0.1 
Ionic CLI        : 3.1.2

local packages:

@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.2.1
@ionic/cli-plugin-ionic-angular : 1.2.0
Cordova Platforms               : ios 4.4.0
Ionic Framework                 : ionic-angular 3.3.0

System:

Node       : v6.10.3
OS         : macOS Sierra
Xcode      : Xcode 8.3.2 Build version 8E2002 
ios-deploy : not installed
ios-sim    : not installed

#10

I had a same problem and ionic login allow me to log in and after that ionic cordova resources worked. thx