I figured I  would ask for help rather than search endlessly on google
for hours on end.
Here is the error from my web app:

Traceback (most recent call last):
  File "/base/python_lib/versions/1/google/appengine/ext/webapp/
__init__.py", line 503, in __call__
    handler.post(*groups)
  File "/base/data/home/apps/nyplcal/1.333293544899328919/nyplcal.py",
line 105, in post
    new_event = calendar_service.InsertEvent(event, '/calendar/feeds/
default/private/full')
  File "/base/data/home/apps/nyplcal/1.333293544899328919/gdata/
calendar/service.py", line 159, in InsertEvent
    converter=gdata.calendar.CalendarEventEntryFromString)
  File "/base/data/home/apps/nyplcal/1.333293544899328919/gdata/
service.py", line 1151, in Post
    media_source=media_source, converter=converter)
  File "/base/data/home/apps/nyplcal/1.333293544899328919/gdata/
service.py", line 1271, in PostOrPut
    'reason': server_response.reason, 'body': result_body}
RequestError: {'status': 401L, 'body': '<HTML>\n<HEAD>
\n<TITLE>Authorization required</TITLE>\n</HEAD>\n<BODY
BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Authorization required</H1>
\n<H2>Error 401</H2>\n</BODY>\n</HTML>\n', 'reason': ''}


Line 105 refers to this:

new_event = calendar_service.InsertEvent(event, '/calendar/feeds/
default/private/full')

Based on the gdata API documentation, I thought I was using the right
Calendar feed URL but apparently, this is not the case.

In my searches online, I came across the Google Data Feed Fetcher and
found my Calendar Feed URL, something like:

/calendar/feeds/default/owncalendars/full/john.doe%40gmail.com

That did not work, does anybody know what this 401 error is about?


Also, I have a gripe about the gdata, I installed it via python
setup.py install but that install step was not necessary, I could have
just copied over the /atom and /gdata directories to my app source
directory.  Can the documentation be updated to reflect this
unnecessary step?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to