flytaly / reddit-post-notifier

Firefox/Chrome extension that watches for posts in given subreddits or reddit searches
Mozilla Public License 2.0
20 stars 5 forks source link

Stopped working today: Couldn't fetch messages: Unexpected token < in JSON at position 0 #23

Closed uj closed 6 months ago

uj commented 2 years ago

Stopped working today, newest version.

Couldn't fetch messages: Unexpected token < in JSON at position 0

I also re-authorized, still the same error message.

flytaly commented 2 years ago

It is more on Reddit's side.

I also had it a moment ago, but now it works. You can test with the following URL (if you are logged in): https://www.reddit.com/message/unread.json?raw_json=1 It should return JSON data {kind : "Listing", ....

It was down for some time today and returned text with error 504 instead of JSON data. The extension tried to parse it and failed.

I should probably update the message in the extension to a less confusing one.