-
I'm trying to make a badge that shows the number of likes on a discourse post, but most of the time it says 'Invalid'. The strange thing is, sometimes it works. This is the badge im trying to make: JSON Source: https://devforum.roblox.com/t/1991959.json This is what it looks like when it does load properly: I found another post that said they might have blocked the user agent, but when I tested Any help is appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The badge currently appears fine ATM so hard to take a closer look, but if the message simply says "Invalid" it means that Shields is getting an unexpected/unsupported http response from the json endpoint you have specified in the If I had to guess I'd say that there's some intermittent status of the file as it's being updated which results in some jsonpath processing error with the query you've provided, as at least at a cursory glance of the code on our side, that seems like the most likely path that would produce an "invalid" error without any additional context. |
Beta Was this translation helpful? Give feedback.
-
Nevermind turns out how I tested the user agent was overridden with the service I was using, and seemed to be going through. I'm really sorry for wasting your time @calebcartwright. |
Beta Was this translation helpful? Give feedback.
Nevermind turns out how I tested the user agent was overridden with the service I was using, and seemed to be going through. I'm really sorry for wasting your time @calebcartwright.