SyntaxError: Unexpected token }
-
I am trying to fetch a single JSON data value from a nginx server which redirects requests to an underlying z-way-server, both running on a Raspberry Pi. Might not be your typical usage scenario, but possibly the most basic content-wise.
When using the shortcode without the userpwd option I get an authentication error as expected. When adding this threw a site option I am left with the following response “SyntaxError: Unexpected token }”.
Any idea of what this could be about? Sounds like some parsing is going wrong but there really shouldn’t be much to parse – the response is just an integer. Any way to enable some more debug logging?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘SyntaxError: Unexpected token }’ is closed to new replies.