kidd / org-gcal.el

Org sync with Google Calendar. (active maintained project as of 2019-11-06)
439 stars 47 forks source link

request error 401 on sync / fetch #114

Closed stfl closed 3 years ago

stfl commented 3 years ago

I set up the API yesterday on my laptop and it worked and now on another machine it does not work and also stopped working on the laptop

I get the auth screen from google which I accept and I copy the token into emacs which leads to the following error

[error] request--callback: peculiar error: 401
[error] request-default-error-callback: https://www.googleapis.com/oauth2/v3/token error
(error http 401)

Status code: 401
(error http 401)

deferred:resignal: Got error 401: (error http 401)
stfl commented 3 years ago

It appears that I had a typo in my .authinfo.gpg file (trailing ") and some things where still in the authinfo cache. looks like it's working now...