Internal Server Error on Releases list resource

Avatar image for jlrm01
jlrm01

2630

Forum Posts

83993

Wiki Points

0

Followers

Reviews: 0

User Lists: 24

#1  Edited By jlrm01

While checking something else, I found that a normal query causes an Internal Server Error on resources lists, but if the limit is set from 1 to 4 it doesn't.

This causes an error:
http://api.giantbomb.com/releases/?api_key=<Your API key goes here>&limit=100&format=json

This doesn't:
http://api.giantbomb.com/releases/?api_key=<Your API key goes here>&limit=1&format=json

Numbers from 1 to 4 don't cause an error. Greater numbers do. At least, that is what I've seen. Others can hopefully verify. ^_^

Avatar image for thebeast
thebeast

1920

Forum Posts

13373

Wiki Points

0

Followers

Reviews: 0

User Lists: 7

#2  Edited By thebeast

Seems I get the same problem under the same conditions.

It looks like it errors after trying to get anything beyond the fourth record:
http://api.giantbomb.com/releases?api_key=12345&limit=4&offset=1
Avatar image for lordandrew
LordAndrew

14609

Forum Posts

98305

Wiki Points

0

Followers

Reviews: 0

User Lists: 36

#3  Edited By LordAndrew

Whatever release is after Dragon's Lair seems to be causing problems. I thought I might be able to work around this by sorting the results differently, but sorting doesn't seem to work (either not implemented yet or I'm doing it wrong).

Edit: I tried accessing certain releases directly using release ID numbers I found in my contributions list. No good. They either return an internal server error or status code 101, Object Not Found.

Avatar image for jlrm01
jlrm01

2630

Forum Posts

83993

Wiki Points

0

Followers

Reviews: 0

User Lists: 24

#4  Edited By jlrm01

I used an offset greater than the total of releases, by mistake, and I got an empty results set and the page_results is 0, which I suppose is alright, but the error message says OK. Is it supposed to be like that? I thought it should give a 101, or some other error... I'm not very familiar with website APIs...

Avatar image for andy
andy

445

Forum Posts

298

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

#5  Edited By andy

Looking at this now.  I should have a fix shortly.

Avatar image for andy
andy

445

Forum Posts

298

Wiki Points

0

Followers

Reviews: 0

User Lists: 1

#6  Edited By andy

This has been resolved.  It was complaining because I didn't export Game Ratings, which releases are related to.  There's a new resource now called GameRating as a result.

Avatar image for thebeast
thebeast

1920

Forum Posts

13373

Wiki Points

0

Followers

Reviews: 0

User Lists: 7

#7  Edited By thebeast

Great work as ever Andy.

I'll throw this question in here rather than making a new post: Would it be possible to retrieve the Giant Bomb review score from game resource pages/lists?
Avatar image for lordandrew
LordAndrew

14609

Forum Posts

98305

Wiki Points

0

Followers

Reviews: 0

User Lists: 36

#8  Edited By LordAndrew

Ah, I see. Thanks.