Skip to content

HTTP status code 403 on import #105

Open
@SpringerJack

Description

Bug description

Recently I have noticed that when importing acsm files I only get an HTTP status code 403. This does not seem to be book-specific as I have reproduced this with a book that used to work.

I registered with my Adobe account and this activation was reported to be successful. I also confirmed that the same acsm file can be imported with my account on another device with Adobe's own software and also with the utils provided by the libgourou project (which I have registered only afterwards, so this does not seem to be an issue with device limits either).

The default stack trace:

ACSM Input v0.1.0: Try to fulfill ...
Post request caused HTTPError 403
Traceback (most recent call last):
File "calibre_plugins.deacsm.init", line 547, in run_single
success, replyData = fulfill(path_to_ebook, deacsmprefs["notify_fulfillment"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linus/.config/calibre/plugins/ACSM Input.zip/libadobeFulfill.py", line 442, in fulfill
ret = operatorAuth(fulfillURL)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linus/.config/calibre/plugins/ACSM Input.zip/libadobeFulfill.py", line 286, in operatorAuth
ret = doOperatorAuth(operatorURL)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/linus/.config/calibre/plugins/ACSM Input.zip/libadobeFulfill.py", line 238, in doOperatorAuth
replyData = sendRequestDocu(auth_req, authURL + "/Auth").decode("utf-8")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'decode'

Operating system

Linux

Which version of Calibre are you running?

7.16

Which version of the ACSM Input plugin are you running?

build from master (6c29c42)

Import type

Clicking the 'Add books' button in the menu bar, Dragging-and-Dropping the ACSM file into the Calibre window

Further information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions