Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload no longer works due storm upload token no longer available #83

Open
iamleot opened this issue Jan 11, 2025 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@iamleot
Copy link
Owner

iamleot commented Jan 11, 2025

From 2025-01-11 regular scheduled checks fails with:

$ ./check.sh
Creating a test file...
Uploading the test file...
Checking that all files exists
Checking for no duplicate filenames
Preparing to upload
Could not find any csrf-token
Traceback (most recent call last):
  File ".../transferwee/transferwee.py", line 683, in <module>
    print(upload(args.files, args.n, args.m, args.f, args.t))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/leot/repos/transferwee/transferwee.py", line 566, in upload
    + _storm_urls(transfer["storm_upload_token"])[
                  ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'storm_upload_token'

This is probably due WeTransfer started asking for an email address and confirmation also for link upload.

(If that's the case regularly testing as we do is likely no longer possible and we should find some other way to test it too.)

@iamleot iamleot added the bug Something isn't working label Jan 11, 2025
@iamleot iamleot self-assigned this Jan 11, 2025
iamleot added a commit that referenced this issue Jan 12, 2025
Tests no longer works due issue #83 and we should probably find some
other way to test.
iamleot added a commit that referenced this issue Jan 12, 2025
Tests no longer works due issue #83 and we should probably find some
other way to test.
@raduhazsda
Copy link

raduhazsda commented Jan 14, 2025

Hello! This error applies to the transferwee.py file as well. When you try to upload a file with the command transferwee.py upload file_name it give the error

File "......\transferwee-master\transferwee-master\transferwee.py", line 683, in <module>
    print(upload(args.files, args.n, args.m, args.f, args.t))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "......\transferwee-master\transferwee-master\transferwee.py", line 566, in upload
    + _storm_urls(transfer["storm_upload_token"])[
                  ~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'storm_upload_token'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants