Goodreads Developers discussion

73 views
bugs > "Add to Shelf" widget not working

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

message 1: by Anton (new)

Anton Shabinskiy | 3 comments Hi all,

widget "Add to My Books" shows "adding to shelf..." and in broswer console I see 404 error for request to https://www.goodreads.com/review/rate...

Any ideas about this? Can anyone confirm that widget is working out-of-the-box?

Thanks & regards
Anton


message 2: by William, Goodreads engineer (new)

William Cline | 21 comments Mod
Sorry you're having trouble, Anton. Can you link an example of a page where the "Add to My Books" button isn't working? Also, which Web browser are you using?


message 3: by Anton (new)

Anton Shabinskiy | 3 comments William wrote: "Sorry you're having trouble, Anton. Can you link an example of a page where the "Add to My Books" button isn't working? Also, which Web browser are you using?"

Hi William, thanks for a propmt response. Unfortunately I don't have a production page yet, I am trying it only on your preview page https://www.goodreads.com/api/atmb_wi...

I am using Chrome, Firefox, IE. All show the same: clicking 'Add book' does nothing, and in console I see such errors: http://screencast.com/t/ZC23IDVD
Seems like first couple of requests receive 404, and all others receive 403. I suppose this is why 'Add book' is not working, but this is IMHO.

Also, absolutely same problem is when I try to test it from local page on my machine.

I hope this info is helpful. I would be very glad to receive any help.

Thanks & regards
Anton


message 4: by Paul (last edited Jan 10, 2014 11:15AM) (new)

Paul | 2 comments I'm seeing the same behavior at my website.

Request URL:https://www.goodreads.com/review/rate...
Request Method:POST
Status Code:404 Not Found
Request Headersview source
Accept:*/*
Accept-Encoding:gzip,deflate,sdch
Accept-Language:en-US,en;q=0.8
Connection:keep-alive
Content-Length:236
Content-Type:application/x-www-form-urlencoded
Cookie:csid=BAhJIhgwMTQtOTEwODI4Ny0yMzA0MjczBjoGRVQ%3D--9820d8d99679152719c22a7625bec535ae6cd5b0; __qca=P0-925679036-1389368124499; u=NjE4MTg1NA%3D%3D-0f822274ceab617f9c8ad62e4d2408ab000f252c; p=NjE4MTg1NA%3D%3D-0f822274ceab617f9c8ad62e4d2408ab000f252c; __gads=ID=df02ac5a050a45bc:T=1389368874:S=ALNI_Mbi12fp_166maTpyuLlm2j5_dCcFg; locale=en; __utma=250562704.1005806596.1389368125.1389368718.1389368845.3; __utmb=250562704.55.10.1389368845; __utmc=250562704; __utmz=250562704.1389368845.3.3.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=(not%20provided); _session_id2=40b6c393a78e99273dd8e9a1d351ce8e
Host:www.goodreads.com
Origin:https://www.goodreads.com
Referer:https://www.goodreads.com/book/add_to...
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36
X-Requested-With:XMLHttpRequest
Query String Parametersview sourceview URL encoded
format:js
no_lightbox:true
rating:-1
unique_id:16637601
Form Dataview sourceview URL encoded
review_mini:true
friend_reviews:true
shelf:read
referrer:http%3A%2F%2Fnewtemplate2.bookaisle.com%2FF1F6B029-F280-4FEF-8F4A-F205FEBE38B8%2F10%2F823%2Fen%2FContentDetails.htm%3Fid%3DD3E02E31-2162-497D-B9A6-77FE5873EF02
Response Headersview source
Cache-Control:no-cache
Connection:close
Content-Encoding:gzip
Content-Type:text/javascript; charset=utf-8
Date:Fri, 10 Jan 2014 17:42:11 GMT
Server:nginx/1.4.2
Set-Cookie:_session_id2=251b8392650f7d2601424e2211150244; path=/; expires=Fri, 10-Jan-2014 23:42:11 GMT; HttpOnly
Status:404 Not Found
Transfer-Encoding:chunked
X-Request-Id:174353bccec1108838d03160dd0a31a6
X-Runtime:0.032073
X-UA-Compatible:IE=Edge,chrome=1


message 5: by William, Goodreads engineer (new)

William Cline | 21 comments Mod
Okay, I see the problem. Will try to get this fixed soon. I'll post back in this thread when I have an update. Sorry for the hassle.


message 6: by Anton (new)

Anton Shabinskiy | 3 comments William wrote: "Okay, I see the problem. Will try to get this fixed soon. I'll post back in this thread when I have an update. Sorry for the hassle."

William, thanks for the support


message 7: by Paul (new)

Paul | 2 comments Hi William,

Any updates here?


message 8: by Felicity (new)

Felicity (groups) | 1 comments Hi Paul, sorry for the delay. A fix for this was released a while ago which we think resolved the issue. Are you still seeing the same behavior on your site?


back to top