ping / odmpy

A simple command line manager for OverDrive/Libby loans. Download your library loans from the command line.
GNU General Public License v3.0
288 stars 19 forks source link

403 Client Error #64

Closed unluckyquote closed 5 months ago

unluckyquote commented 5 months ago

The Problem I'm receiving the following error message:

odmpy.libby_errors.ClientError: <odmpy.libby_errors.ClientError; http_status=403, msg='403 Client Error: Forbidden for url: https://sentry-read.svc.overdrive.com/chip/sync', error_response='{"result":"missing_chip"}''>

Once I get the error message, odmpy stops, and I'm unable to do anything with it 😕

To Reproduce Using the base command of odmpy libby

Version/Environment odmpy 0.8.1 [Python 3.11.5-darwin]

ebarkie commented 5 months ago

https://github.com/ping/odmpy/issues/62#issuecomment-2064423646

wtanksleyjr commented 5 months ago

odmpy libby --reset will remove the links without needing to run rm and find the path.

On Tue, Apr 23, 2024 at 5:19 PM Eric Barkie @.***> wrote:

It looks like they may have wiped everyone's linked devices?

On Linux (paths may vary):

rm ~/.config/odmpy/libby.json

Then run odmpy libby and re-link the device. Works fine for me after that.

— Reply to this email directly, view it on GitHub https://github.com/ping/odmpy/issues/64#issuecomment-2073697183, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ7H6JUIPHYQ53U43AVHSTY633A7AVCNFSM6AAAAABGVFLF66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGY4TOMJYGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

blast9649 commented 5 months ago

and that fixed it thank you!

unluckyquote commented 5 months ago

odmpy libby --reset will remove the links without needing to run rm and find the path. On Tue, Apr 23, 2024 at 5:19 PM Eric Barkie @.> wrote: It looks like they may have wiped everyone's linked devices? On Linux (paths may vary): rm ~/.config/odmpy/libby.json Then run odmpy libby and re-link the device. Works fine for me after that. — Reply to this email directly, view it on GitHub <#64 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJ7H6JUIPHYQ53U43AVHSTY633A7AVCNFSM6AAAAABGVFLF66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZTGY4TOMJYGM . You are receiving this because you are subscribed to this thread.Message ID: @.>

amazing! I did this and it's fixed, thanks 👍🏻