Can you import from Google Calendar?

Discussions about the Calendar Tool at lds.org. Questions about the calendar on the classic site should be posted in the LUWS forum.
JohnSutherland
New Member
Posts: 29
Joined: Fri Jul 08, 2011 5:06 pm

#11

Post by JohnSutherland »

jdcr256 wrote:Can you expand the last request (/import/legacyEventsForUnit) and let us know what actually came back in that response?

Here it is:

The response is:
{"good":false,"message":" user not authorized"}
The header is:

Response Headers
DateThu, 17 Nov 2011 16:42:05 GMTCache-Controlmax-age=0, no-cache, no-storeExpires-1Content-Typeapplication/json;charset=UTF-8Content-Length47ConnectionKeep-AliveRequest Headers
Hostlds.orgUser-AgentMozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20100101 Firefox/8.0Acceptapplication/json, text/javascript, */*; q=0.01Accept-Languageen-us,en;q=0.5Accept-Encodinggzip, deflateAccept-CharsetISO-8859-1,utf-8;q=0.7,*;q=0.7Connectionkeep-aliveX-Requested-WithXMLHttpRequestRefererhttps://lds.org/church-calendar/settingsTabPane.jspCookieJSESSIONID=5F2A2A10D1D5991C952E7ABC3724FA3C; TS57a415=764ba5619c0826826b93c91fc2aa7166522c9740cae20f5b4ec52b1494c5a4894438e33960ac0ec5c79468a7; s_vi=[CS]v1|275E0FDB05162618-600001A400007217[CE]; lds-youTube=true; lds-preferred-lang=eng; ObSSOCookie=KA0EAwkZpIJveJRPBorRCtKLJ4F6VhyKKT8QARSk69cnRxlFWFsWN9xEgM4Bj4n40IvRuOt4wdyobh86YoZxz%2F5vdLFKBmX9%2BEDLXqgMMQnwKUIvIIzo75PeydaCSAlgf74i7JrX2oW6HOCmfC6PwMnZcGdE%2BnkT5Qgq5mKuLpcYaiOSZ4tDdd7IBfclvFUsVVi49NZahf4Y2mQnS6OoJ4ThIWb2CAWpQxHXtLLvEE1me72ybpaISxdL%2F7TQddYPyruQeWTHDeiQYHCmOBoFow%3D%3D; TScd105b=740c8e49e7c34b86ed1c48d8d7a0d8b0522c9740cae20f5b4ec5395294c5a489087f761d4f6719a6a7b3c4bc0012469dcee77251; s_ppv=100; s_cc=true; s_sq=%5B%5BB%5D%5D; eventLocationCheckboxStr=; signmeout-goto=lds.org/?lang=eng&signmeout; s_cc=true; mbox=check#true#1321548141|session#1321548080165-587494#1321549941; s_pv=Local%20Unit%20Calendar
The JSON is:

good
false
message
" user not authorized"
So, why am I not authorized?
Attachments
Screen Shot 2011-11-17 at 9.42.28 AM.jpg
(9.65 KiB) Downloaded 6 times
JohnSutherland
New Member
Posts: 29
Joined: Fri Jul 08, 2011 5:06 pm

#12

Post by JohnSutherland »

BrotherBill, click on the image below and you should see "Setup & Import" in the "Settings" drop down menu.
Screen Shot 2011-11-17 at 9.47.31 AM.jpg
Screen Shot 2011-11-17 at 9.47.31 AM.jpg (12.54 KiB) Viewed 231 times
jdcr256
Church Employee
Church Employee
Posts: 557
Joined: Wed Feb 17, 2010 1:53 pm
Location: Riverton, Utah

#13

Post by jdcr256 »

johnsutherland wrote:" user not authorized"
So, why am I not authorized?
I was able to duplicate this using the headers you sent. We are hoping to get a bug fix release out by tonight, so rather than fixing the 'user not authorized' issue (which I still haven't found the cause of) we are trying to fix it so it enables the ical file link regardless of the response we get.

We may not have our release ready for tonight, and we avoid doing releases on Fridays (too much risk of causing problems on the weekend, when we have the highest traffic). So the fix should be there tonight or early next week.
Post Reply

Return to “Calendar”