Uncaught SyntaxError: Unexpected end of JSON input "/api/settings/time/difference" returns 404
See original GitHub issueI am getting this error on reload of the client, otherwise seems to work.
index.html#/:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at IncomingMessage.eval (eval at <anonymous> (bundle.js:4112), <anonymous>:108:31)
at emitNone (events.js:91)
at IncomingMessage.emit (events.js:188)
at endReadableNT (_stream_readable.js:975)
at _combinedTickCallback (internal/process/next_tick.js:80)
at process._tickCallback (internal/process/next_tick.js:104)
(anonymous) @ request.js?c6b6:75
emitNone @ events.js:91
emit @ events.js:188
endReadableNT @ _stream_readable.js:975
_combinedTickCallback @ internal/process/next_tick.js:80
_tickCallback @ internal/process/next_tick.js:104
Posted on Utopian.io - Rewarding Open Source Contributors
Issue Analytics
- State:
- Created 6 years ago
- Comments:56 (1 by maintainers)
Top Results From Across the Web
Uncaught SyntaxError: Unexpected end of JSON ... - STechies
A common error encountered by JavaScript programmers is the Uncaught SyntaxError: Unexpected end of JSON input. This is usually observed when the coder...
Read more >Uncaught SyntaxError: Unexpected end of JSON input at ...
In my case, using .NET 6, the problem was that the controller was declared as void and did not return any value. Simply...
Read more >How to Fix SyntaxError: Unexpected token < in JSON at ...
Usually this error is caused when your server returns HTML (which typically begins with <DOCTYPE html> or <html> ) instead of JSON. Valid...
Read more >βUnexpected end of JSON inputβ β possible fixes - LinuxPip
βUnexpected end of JSON inputβ (or βUncaught SyntaxError: Unexpected end of JSON inputβ) is a common error message in JavaScript,Β ...
Read more >Walkthrough (Integrating Square in Website) Error
(index):114 SyntaxError: Unexpected end of JSON input at (index):105. So I tried to figure out why /process-payment wasn't being found.
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 FreeTop 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
Top GitHub Comments
My issue is that the code does not check if the servers supports the api call and does not deal with errors properly. I am going to keep it open.
On Thu, Dec 28, 2017 at 12:38 PM, Erik van Hannen notifications@github.com wrote:
β James Michael DuPont
Ok, so I have rebuilt the cardno sl node with nix from scratch, after clearing nix.
I am testing the front end now, but the time api is working