➜ ~ 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
前置检查
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
相关截图
补充说明
No response