MYXXTS / Chevereto-Upload

Picgo plugin about chevereto v3 and v4 offical application uploader
MIT License
8 stars 4 forks source link

[BUG] picgo upload 400错误 #7

Closed unclebryan719 closed 2 months ago

unclebryan719 commented 2 months ago

前置检查

chevereto 图床的版本(请前往控制台查看)

Chevereto Free 1.1.4

PicGo的版本

picgo core 1.5.7

问题重现

操作流程: 执行命令:picgo upload /Users/unclebryan/Desktop/314341725531833_.pic.jpg 执行报400错误,错误在下面 配置说明: cheveretov版本:Chevereto Free 1.1.4 node版本:使用nvm切换到nodev14.21.3 picgo core版本:1.5.7 picgo配置如下 { "picgoPlugins": { "picgo-plugin-cheveretov4": true, "picgo-plugin-web-uploader": true }, "picBed": { "uploader": "cheveretov4", "current": "cheveretov4", "transformer": "path", "cheveretov4": { "cheveretoversion": "V3", "url": "http://xxx/api/1/upload", "key": "xxxx", "source_param": "source", "url_param": "url", "album_id": "1", "category_id": "", "description": "" } } }

相关日志

➜ ~ picgo upload /Users/unclebryan/Desktop/314341725531833_.pic.jpg [PicGo INFO]: Before transform [PicGo INFO]: Transforming... Current transformer is [path] [PicGo INFO]: Before upload [PicGo INFO]: Uploading... Current uploader is [cheveretov4]

[PicGo ERROR]: Error: Request failed with status code 400 at Object.handle (/Users/unclebryan/.picgo/node_modules/picgo-plugin-cheveretov4/src/index.js:83:13) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async je.doUpload (/Users/unclebryan/.nvm/versions/node/v14.21.3/lib/node_modules/picgo/dist/index.cjs.js:1:19834) at async je.start (/Users/unclebryan/.nvm/versions/node/v14.21.3/lib/node_modules/picgo/dist/index.cjs.js:1:18605) at async $t.upload (/Users/unclebryan/.nvm/versions/node/v14.21.3/lib/node_modules/picgo/dist/index.cjs.js:1:74893) at async /Users/unclebryan/.nvm/versions/node/v14.21.3/lib/node_modules/picgo/dist/index.cjs.js:1:5821

相关截图

Screen Shot 2024-09-10 at 00 17 34

补充说明

No response

MYXXTS commented 2 months ago

已经定位到相关问题,晚点修复完成后会重新发布版本,请重新进行测试

MYXXTS commented 2 months ago

新版本已经发布,请尝试使用,并麻烦反馈,如果依旧存在问题,请重开此issue并补充说明

unclebryan719 commented 1 month ago

牛逼 ~ 可以了