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 出错 getSendConfig returns error: json: cannot unmarshal string into Go struct field prepareSendResp.error of type bool, onfile #65

Open
duchenpaul opened this issue Nov 23, 2022 · 7 comments

Comments

@duchenpaul
Copy link

$ ./cowtransfer-uploader --verbose  cowtransfer-uploader_0.4.23_linux_amd64.tar.gz
2022/11/23 12:02:35 config = &{token: parallel:3 interval:15 prefix:. debugMode:true singleMode:false version:false keepMode:false authCode: blockSize:1200000 hashCheck:false passCode: silentMode:false validDays:0}
2022/11/23 12:02:35 files = [cowtransfer-uploader_0.4.23_linux_amd64.tar.gz]
2022/11/23 12:02:35 retrying: 0
2022/11/23 12:02:35 postBody: map[totalSize:2623998 validDays:0]
2022/11/23 12:02:35 endpoint: https://cowtransfer.com/api/transfer/v2/preparesend
2022/11/23 12:02:35 map[Authorization:[] Content-Type:[multipart/form-data;boundary=9c0f4e7d4d0f2c6db6e2b3c4e7d85df1b1bb22de08a81413d9a3d7e8edc4] Cookie:[] Referer:[https://cowtransfer.com/]]
2022/11/23 12:02:35 returns: {"timestamp":1669176157146,"status":404,"error":"Not Found","message":"/transfer/v2/preparesend","path":"/transfer/v2/preparesend"}
2022/11/23 12:02:35 cookies set to: aliyungf_tc=cd6f68dfb677ac754caeeabc4c661ac6cc75fb4c4ae8392490e4fedc69f470a8;acw_tc=2f6fc11e16691761571017807e5dc78cf2fba93b934b4ef4b10bca60e015cd;
getSendConfig returns error: json: cannot unmarshal string into Go struct field prepareSendResp.error of type bool, onfile: cowtransfer-uploader_0.4.23_linux_amd64.tar.gz

$ ./cowtransfer-uploader --version                       ✔  chenny@uranus-ubuntu  12:02:35     

cowTransfer-uploader
Source: https://github.com/Mikubill/cowtransfer-uploader
Build: 2a8dbdd0308dd763d460c0a872e28fc2e7c1e4c6
@GiggleLiu
Copy link

I got the same error on Ubuntu 22.04.

@tjc0726
Copy link

tjc0726 commented Dec 31, 2022

same on windows 11

1 similar comment
@jiajiaxd
Copy link

jiajiaxd commented Jun 4, 2023

same on windows 11

@freeze-dolphin
Copy link

same on linuxmint 21.2

@Maxwell-codesome
Copy link

same on Ubuntu 20.04.6 LTS

@brightsm
Copy link

brightsm commented Jan 6, 2024

win10 wsl Ubuntu
tips error:
getSendConfig returns error: json: cannot unmarshal string into Go struct field prepareSendResp.error of type bool, onfile: dd.txt

@zdf321
Copy link

zdf321 commented Aug 20, 2024

same on centos 7.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants