Goodreads Developers discussion

135 views
questions > Api method is not working‏

Comments Showing 1-9 of 9 (9 new)    post a comment »
dateUp arrow    newest »

message 1: by Sobh (last edited Jul 10, 2014 11:39PM) (new)

Sobh | 2 comments I have tried book.isbn_to_id along with its url and following error appears:

This page contains the following errors:
error on line 1 at column 1: Document is empty
Below is a rendering of the page up to the first error.

What possibly can be the problem? Any help would be appreciated.


message 2: by Ettore (new)

Ettore Pasquini Hi Sobh, that api looks broken. I'll file a ticket to investigate on/fix it.


message 3: by Ettore (new)

Ettore Pasquini actually, upon further investigation it seems like the api works but reports an incorrect MIME type (application/xml, while it should be plain text). In fact, the HTTP status code of the sample URL is 200 in my testing.

I still filed a ticket to fix the response MIME type.


message 4: by Sobh (new)

Sobh | 2 comments Thank you Ettore. For looking into this matter. Can you suggest me any other way of getting 'Goodreads internal book ids'?


message 5: by Michael (new)

Michael Economy (michaeleconomy) if you add a url parameter "&format=xml" does that fix it?


message 6: by Ettore (new)

Ettore Pasquini Sobh, by the way, what i meant in my previous message is that the api does return the Goodreads book_id in the response payload. Just parse the returned data as plain text instead of XML. The only data returned is the book id, with no XML markup.


message 7: by Michael (new)

Michael Economy (michaeleconomy) Oh, ignore my suggestion then, thanks Ettore.


message 8: by Reshma (new)

Reshma | 1 comments Hi there, Is this issue fixed or still persists?
I am getting this error while trying to run book.isbn_to_id:-

This page contains the following errors:

error on line 1 at column 1: Document is empty
Below is a rendering of the page up to the first error.


message 9: by Ettore (new)

Ettore Pasquini This problem is not fixed, but please follow the suggestion above, in my previous messages.


back to top