SyntaxError: Unexpected token ‘ in JSON at position 0

Bailey_xii

I was trying to claim the staked $Aurora rewards with NEAR-CLI by following this medium article but when I run the command:

NEAR_ENV=mainnet near call aaaaaa20d9e0e2461697782ef11675f668207961.factory.bridge.near storage_deposit ‘’ --accountId bailey12.near --amount 0.0125

The terminal displayed:

An error occured
SyntaxError: Unexpected token ‘ in JSON at position 0
    at JSON.parse (<anonymous>)
    at scheduleFunctionCall (/usr/local/lib/node_modules/near-cli/commands/call.js:54:84)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.handler (/usr/local/lib/node_modules/near-cli/utils/exit-on-error.js:52:9)
SyntaxError: Unexpected token ‘ in JSON at position 0
    at JSON.parse (<anonymous>)
    at scheduleFunctionCall (/usr/local/lib/node_modules/near-cli/commands/call.js:54:84)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.handler (/usr/local/lib/node_modules/near-cli/utils/exit-on-error.js:52:9) 

Any idea how to recorrect this? Thank in advance.

Vlad Frolov

Use proper single quote ' instead of ’

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

SyntaxError: Unexpected token in JSON at position 0 Express

"SyntaxError: Unexpected token < in JSON at position 0"

NodeJS SyntaxError: Unexpected token in JSON at position 0

"parsererror" SyntaxError: Unexpected token < in JSON at position 0

SyntaxError: Unexpected token ' in JSON at position 0

SyntaxError: Unexpected token " in JSON at position 0

"message": "Unexpected token < in JSON at position 0", "stack": "SyntaxError: Unexpected token < in JSON at position 0"

SyntaxError: Unexpected token < in JSON at position 0 json_encode

JSON.parse(): SyntaxError: Unexpected token � in JSON at position 0

SyntaxError: Unexpected token " in JSON at position 0 at JSON.parse

SyntaxError: Unexpected token \ in JSON at position

SyntaxError: Unexpected token } in JSON at position

undefined:1 undefined ^ SyntaxError: Unexpected token u in JSON at position 0

Angular : ERROR SyntaxError: Unexpected token < in JSON at position 0

SyntaxError: Unexpected token < in JSON at position 0 - React app in Rails API

fetch returns SyntaxError: Unexpected token T in JSON at position 0

Selectize Uncaught SyntaxError: Unexpected token # in JSON at position 0

Uncaught SyntaxError: Unexpected token u in JSON at position 0

React Js: Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

Saving to localstorage - SyntaxError: Unexpected token u in JSON at position 0

Angular SyntaxError: Unexpected token P in JSON at position 0

SignalR : negotiate parsing error : SyntaxError: Unexpected token < in JSON at position 0

Uncaught SyntaxError: Unexpected token < in JSON at position 0 from Codeigniter response

react : Unhandled Rejection (SyntaxError): Unexpected token < in JSON at position 0

syntaxerror unexpected token # in json at position 0 at object.parse (native)

SyntaxError: Unexpected token < in JSON at position 0 when testing in Graphiql

SyntaxError: Unexpected token < in JSON at position 0 - Not sure why

Uncaught Promise Rejection SyntaxError: Unexpected token u in JSON at position 0

How To Fix SyntaxError: Unexpected token b in JSON at position 0