Cross-Origin Request Blocked

so in the console i get

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).

when trying to request from , but only from that one, all the others i use ( /streams , /channels , /users ) i never get that error , in all the cases i make the request the same way

documentation does not mention that /chat/emoticons needs something that the others don’t , i am missing something ?

the code :

also in the response headers of the request i see " access-control-allow-origin * " , even when i found it super confusing from what i was reading that should mean that the site allows requests from any origin? , so why i see the error? ugh, super confusing

Strange, I’m getting this response if I request v5 but without the version header it returns expected data:

"error": "Gone",
"status": 410,
"message": "The API version you are looking for is in another castle. See"

In general that endpoint has always been trouble due to it’s size. I would recommend sticking to as much as possible.

yes, this is weird

i looked at that emoticon_images but seems to bring all the emotes for all channels
searching i found other not documented<channel_name>/product that has the sub emotes for a single channel in one shorter response, simpler for me to deal with that :slight_smile:

so gonna give a try to that first , but leaving it here so if anyone search for something similar can find it too

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.