[SD-JSON] "MAX_IMAGE_DOWNLOADS" code 5002 - EPG123

Issues relating to lineups should be posted here.
Post Reply
mkanet
Posts: 3
Joined: Wed Mar 02, 2022 1:20 pm

[SD-JSON] "MAX_IMAGE_DOWNLOADS" code 5002 - EPG123

Post by mkanet »

I am successfully able to retrieve all data from my lineups, except for image downloads like below (even after a 24 hour waiting period to reset the counter):

Example:

Code: Select all

https://json.schedulesdirect.org/20141201/image/add2206c69c6f763251b7107bb217bb9db30d2e97b5ff810ba41361a0ba57954.jpg

https://json.schedulesdirect.org/20141201/image/bba94dd83e5628fed05f4f2bb281d9448c863b2ef2bfd35f3073145646a69417.jpg
ALL image download requests result in responses like below:

{"response":"MAX_IMAGE_DOWNLOADS","code":5002,"serverID":"20141201.web","message":"Maximum image downloads reached. Counter resets every 24h. Post message to http:\/\/forums.schedulesdirect.org\/viewforum.php?f=6","datetime":"2022-03-14T21:25:59Z"}

NOTE: I am able to reproduce this issue even with a regular web browser. Any suggestions would greatly be appreciated!
rmeden
SD Board Member
Posts: 1650
Joined: Tue Aug 14, 2007 2:31 pm
Location: Cedar Hill, TX
Contact:

Re: [SD-JSON] "MAX_IMAGE_DOWNLOADS" code 5002 - EPG123

Post by rmeden »

moved to SD-JSON section
emveepee
Posts: 25
Joined: Sat Jan 26, 2013 9:21 am

Re: [SD-JSON] "MAX_IMAGE_DOWNLOADS" code 5002 - EPG123

Post by emveepee »

Direct access to URL's without an active token should fail. EPG123 may need to remove art from the XMLTV to avoid spamming the server.

Martin
mkanet
Posts: 3
Joined: Wed Mar 02, 2022 1:20 pm

Re: [SD-JSON] "MAX_IMAGE_DOWNLOADS" code 5002 - EPG123

Post by mkanet »

As far as I know EPG123 does use an active token, unless it has a bug.
emveepee
Posts: 25
Joined: Sat Jan 26, 2013 9:21 am

Re: [SD-JSON] "MAX_IMAGE_DOWNLOADS" code 5002 - EPG123

Post by emveepee »

There is no token parameter on the URLs you posted. There is no guarantee they will be valid for the life of the XMLTV file either.

Martin
garyan2
Posts: 10
Joined: Sat Jan 28, 2017 10:54 pm

Re: [SD-JSON] "MAX_IMAGE_DOWNLOADS" code 5002 - EPG123

Post by garyan2 »

EPG123 uses a proxy service which will add the active token to the request. From my side this is not a token issue... plus it works for everyone else. Not sure what is going on here for @mkanet.
emveepee
Posts: 25
Joined: Sat Jan 26, 2013 9:21 am

Re: [SD-JSON] "MAX_IMAGE_DOWNLOADS" code 5002 - EPG123

Post by emveepee »

Gotcha, his URL's aren't to a proxy server,so the topic title is wrong. This error was returned as a bug in earlier versions of the python implementation, perhaps it wasn't fixed properly.

Martin
garyan2
Posts: 10
Joined: Sat Jan 28, 2017 10:54 pm

Re: [SD-JSON] "MAX_IMAGE_DOWNLOADS" code 5002 - EPG123

Post by garyan2 »

You're right. What he posted above was not to the proxy server. This was quite a few months ago and at the time there was no requirement on the production server to have the token in the request. @mkanet was having the same issue with/without the proxy server running. It is quite confusing that he is the only one experiencing this problem.
emveepee
Posts: 25
Joined: Sat Jan 26, 2013 9:21 am

Re: [SD-JSON] "MAX_IMAGE_DOWNLOADS" code 5002 - EPG123

Post by emveepee »

Sorry for the confusion I didn't notice the old date, and I only started seeing that error in testing recently

Martin
Post Reply