Failed to verify accountId. [-32700] Parse error: Failed parsing args: missing field `account_id`
See original GitHub issueDescribe the bug
CLI shows Failed to verify accountId. [-32700] Parse error: Failed parsing args: missing field account_id
To Reproduce Steps to reproduce the behavior:
- run
near login - login/select account from wallet.testnet.near.org
- http://127.0.0.1:5001/?account_id=… link shows unable to connect error
- CLI shows Failed to verify accountId. [-32700] Parse error: Failed parsing args: missing field
account_id
Expected behavior CLI should login with selected account
Screenshots

Desktop (please complete the following information):
- OS: Manjaro
- Version: latest rolling
Additional context node v16.13.1 near-cli v3.1.0 tested with both Firefox and Chrome. CLI crashes with that error even before account selection and redirection to that http://127.0.0.1:5001/?account_id=… link
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Failed to verify accountId. [-32700] Parse error ...
Describe the bug Unable to login. Near-cli is failing with error: Failed to verify accountId. [-32700] Parse error: Failed parsing args: missing field...
Read more >near login command failed to verify accountId.
near login command failed to verify accountId. [-32700] Parse error: Failed parsing args: missing field 'account_id'.
Read more >Failed to parse field of type in document with id ''.
A detailed guide on how to resolve errors related to "failed to parse field of type in document with id ''."
Read more >Failed to verify accountId. [-32700] Parse error ...
Issue Title Created Date Comment Count Updated Date
Duplicated objects in dataset 0 2022‑08‑02 2022‑10‑12
Can you add ability to turn on user feedback? 4...
Read more >Quickstart - webargs 8.2.0 documentation
from webargs import fields, validate user_args = { # Required arguments "username": ... from flask import request from webargs.flaskparser import parser ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Yes. Unable to reproduce this issue next day after restarting my PC. Closing this. May be this issue has something to do with ledger since I was trying to use ledger account with CLI when this issue started occurring. And that issue was even occurring with non-ledger account.
I get this error not on the near CLI - the login there works. But I have the same error in the frontend when I try to call a method on the contract, " Failed parsing args: missing field
account_id" but the account_id is there when I log it:Output: