near login command failed to verify accountId. [-32700] Parse error: Failed parsing args: missing field 'account_id'

Viewed 188

When I tried to use near CLI command near login. I got the following msg (showing in the attached picture) before I can approve access from wallet.testnet.near.org

near login failed msg

1 Answers

I looked into the near-cli source code and found that there was a callback using port 5000. My Mac (Monterey 12.3.1) was using port 5000 already, which I couldn't kill off and which in turn led me to a quick Google search. All the articles basically say this: Turn off AirPlay Reciever Did so, and now I'm able to use near login successfully.

Related