dustin / gopro

Tools for making the most out of GoPro Plus.
http://dustin.sallings.org/2020/04/29/gopro-plus.html
BSD 3-Clause "New" or "Revised" License
93 stars 13 forks source link

Sync fails with Unauthorized 401 message #11

Closed tenninebt closed 2 years ago

tenninebt commented 2 years ago

The app worked fine but after a few hours, the sync command is failing. I'm getting and Unauthorized 401 message. I thought it might be a token generated during the authentication expired so I tried reauth command, auth to start over but none of them fixed it. I'm wondering if they updated the API or revoked the Api Key you are using. Did you face the same issue before? Could it be a DDos protection mechanism? It feels like it is Cloudfront that is blocking me, but I can't figure out why?

dustin commented 2 years ago

There's no automatic reauthentication. Try gopro reauth

Automating this is a bit less trivial than one would think.