gmail-batch-stream icon indicating copy to clipboard operation
gmail-batch-stream copied to clipboard

SyntaxError: Unexpected token N in JSON at position 0

Open motin opened this issue 7 years ago • 0 comments

Cause: When a 404 response is encountered, the body is not JSON, but plain text.

HTTP/1.1 404 Not Found
Content-Type: text/html; charset=UTF-8
Date: Thu, 13 Dec 2018 22:36:43 GMT
Expires: Thu, 13 Dec 2018 22:36:43 GMT
Cache-Control: private, max-age=0
Content-Length: 9

Not Found

motin avatar Dec 13 '18 23:12 motin