Ionic link to ionic dashboard not working


#1

I have an existing app and I am trying to link with ionic dashboard.

but I am getting this error.

Balas-MacBook-Pro:crickify balasivagnanam$ ionic link --pro-id 3a1b9c9e
Log into your Ionic account
If you don’t have one yet, create yours by running: ionic signup

? Email: ssn.bala@gmail.com

? Password: [hidden]
[ERROR] API request was successful, but the response format was unrecognized.

    Request: POST https://api.ionic.io/login
    Response: 200
    Body: 
    { token: 
    'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI4MThmMzg1OS0xZjZkLTQzNjYtYWFhOC0xZmJjOWQwYjFhZDAifQ.05midyFiK3Oc4sz_Gc4eadK-2w84w3QsNnme6ExYiwI',
       user_id: '14941' }

Ionic cli version : 3.9.2
ionic version: 3.12.1


#2

Solved it using “ionic config set -g backend legacy” command and then executing the link function…