question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unexpected string in JSON at position 262

See original GitHub issue

I’m getting the following error during auth flow.

[DEBUG] SyntaxError: Unexpected string in JSON at position 262
    at JSON.parse (<anonymous>)
    at https://browser.blockstack.org/static/js/vendors.1b38d2faab448e4b154f.chunk.js:23:238823

I tried to run my app in Incognito mode… I got the same error, but was prompted to create/restore an account, and that process worked, but I was redirected to Blockstack Browser, instead of back to my app. screen shot 2019-03-05 at 3 14 08 pm

In Incognito mode, after restoring my account, and attempting to log in, I got the “Failed to fetch information about the app requesting authentication…” error. screen shot 2019-03-05 at 3 14 52 pm

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
dantrevinocommented, Mar 6, 2019

FFS. Spent over an hour reconfiguring my cors with different servers trying to recreate and it turns out I was missing a comma between icons.src and icons.sizes properties in manifest.json. EBKAC. smh.

0reactions
markmhxcommented, Mar 7, 2019

The most puzzling bugs are always right in front of you 🙃

Read more comments on GitHub >

github_iconTop Results From Across the Web

fixing SyntaxError: Unexpected string/token in JSON at position
Use this syntax highlighter. If using Chrome, paste the offending JSON here to find the relevant offending line (data is kept locally in...
Read more >
Unexpected string in JSON at position 608 while parsing
I faced similar issue and my json was valid and structured. This issue was due to invalid package-lock.
Read more >
Unexpected string in JSON at position 262 #1858 - GitHub
I'm getting the following error during auth flow. [DEBUG] SyntaxError: Unexpected string in JSON at position 262 at JSON.parse (<anonymous>) at ...
Read more >
SyntaxError: JSON.parse: bad parsing - JavaScript | MDN
JSON.parse() parses a string as JSON. This string has to be valid JSON and will throw this error if incorrect syntax was encountered....
Read more >
syntaxerror: unexpected string in json at position - You.com
There are two common causes for this. The first is that you may be referencing a non-existent property (or even a non-existent variable...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found