5
For those who do not know, the googleCl(Command line tools for the Google Data Apis) follow the link https://code.google.com/p/googlecl/
I use only the command that sends an event to my google calendar.
Now I have an error message, where previously ran normal, just stopped working for a while, follow an example of the error:
#google calendar add "teste"
Traceback (most recent call last):
File "/usr/local/bin/google", line 991, in <module>
main()
File "/usr/local/bin/google", line 977, in main
run_once(options, args)
File "/usr/local/bin/google", line 763, in run_once
task.run(client, options, args)
File "/usr/local/lib/python2.7/dist-packages/googlecl/calendar/__init__.py", line 330, in _run_add
results = client.quick_add_event(events_list, cal.user)
File "/usr/local/lib/python2.7/dist-packages/googlecl/calendar/service.py", line 277, in quick_add_event
USER_BATCH_URL_FORMAT % calendar_user)
File "/usr/local/lib/python2.7/dist-packages/gdata/calendar/service.py", line 446, in ExecuteBatch
return self.Post(batch_feed, url, converter=converter)
File "/usr/local/lib/python2.7/dist-packages/googlecl/service.py", line 69, in retry_post
return self.retry_operation(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/googlecl/base.py", line 394, in retry_operation
raise err
gdata.service.RequestError: {'status': 403, 'body': '<HTML>\n<HEAD>\n<TITLE>Forbidden</TITLE>\n</HEAD>\n<BODY BGCOLOR="#FFFFFF" TEXT="#000000">\n<H1>Forbidden</H1>\n<H2>Error 403</H2>\n</BODY>\n</HTML>\n', 'reason': 'Forbidden'}
I’ve already updated the API to the latest version (googlecl_0.9.14-2_all.deb) and nothing, still with the same error
The request is returning 403 Forbidden, should be the cause. You are trying to access a resource that the server does not allow.
– stderr
@qmechanik I had been using this API for some time, only if google stopped accepting calendar insertion with this API, because going there via site the feature remains available.
– SneepS NinjA