[GH-ISSUE #2500] 设置gitee同步 status code 400 #1609

Closed
opened 2026-02-27 00:04:11 +03:00 by kerem · 4 comments
Owner

Originally created by @strive1216 on GitHub (May 19, 2022).
Original GitHub issue: https://github.com/electerm/electerm/issues/2500

Electerm Version(Electerm版本)

1.21.57

Platform detail (平台详情)

M1

What steps will reproduce the bug?(重新问题的详细步骤)

Uploading image.png…

github 同步正常
gitee 同步400
使用现有的gitsid或自动新建(能看到新建的gist)都一样
Error: Request failed with status code 400 at file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.21.57:2:1601882 at Object.resolve (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.21.57:2:1600401) at Worker.<anonymous> (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.21.57:2:1601330)

What should have happened?(期望的结果)

gitee能正常上传配置

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

No response

Additional information(其他任何相关信息)

No response

Originally created by @strive1216 on GitHub (May 19, 2022). Original GitHub issue: https://github.com/electerm/electerm/issues/2500 ### Electerm Version(Electerm版本) 1.21.57 ### Platform detail (平台详情) M1 ### What steps will reproduce the bug?(重新问题的详细步骤) ![Uploading image.png…]() github 同步正常 gitee 同步400 使用现有的gitsid或自动新建(能看到新建的gist)都一样 `Error: Request failed with status code 400 at file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.21.57:2:1601882 at Object.resolve (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.21.57:2:1600401) at Worker.<anonymous> (file:///Applications/electerm.app/Contents/Resources/app.asar/assets/js/electerm.js?1.21.57:2:1601330)` ### What should have happened?(期望的结果) gitee能正常上传配置 ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) _No response_ ### Additional information(其他任何相关信息) _No response_
kerem closed this issue 2026-02-27 00:04:12 +03:00
Author
Owner

@zxdong262 commented on GitHub (May 21, 2022):

私人令牌的权限是不是正确呢?参考 https://gitee.com/github-zxdong262/electerm/wikis/Create%20personal%20access%20token?sort_id=3028409

<!-- gh-comment-id:1133551278 --> @zxdong262 commented on GitHub (May 21, 2022): 私人令牌的权限是不是正确呢?参考 https://gitee.com/github-zxdong262/electerm/wikis/Create%20personal%20access%20token?sort_id=3028409
Author
Owner

@strive1216 commented on GitHub (May 23, 2022):

私人令牌的权限是不是正确呢?参考 https://gitee.com/github-zxdong262/electerm/wikis/Create%20personal%20access%20token?sort_id=3028409

应该不是,如果不指定现有gist ID 能自动创建一个gistid,但是也不能上传设置

<!-- gh-comment-id:1134088941 --> @strive1216 commented on GitHub (May 23, 2022): > 私人令牌的权限是不是正确呢?参考 https://gitee.com/github-zxdong262/electerm/wikis/Create%20personal%20access%20token?sort_id=3028409 应该不是,如果不指定现有gist ID 能自动创建一个gistid,但是也不能上传设置
Author
Owner

@zxdong262 commented on GitHub (May 25, 2022):

私人令牌的权限是不是正确呢?参考 https://gitee.com/github-zxdong262/electerm/wikis/Create%20personal%20access%20token?sort_id=3028409

应该不是,如果不指定现有gist ID 能自动创建一个gistid,但是也不能上传设置

是不是书签太多,gitee对大小有限制?

<!-- gh-comment-id:1136759010 --> @zxdong262 commented on GitHub (May 25, 2022): > > 私人令牌的权限是不是正确呢?参考 https://gitee.com/github-zxdong262/electerm/wikis/Create%20personal%20access%20token?sort_id=3028409 > > 应该不是,如果不指定现有gist ID 能自动创建一个gistid,但是也不能上传设置 是不是书签太多,gitee对大小有限制?
Author
Owner

@strive1216 commented on GitHub (May 25, 2022):

是的 我尝试删除大量书签后是可以正常上传了,
PS:吐槽一下删除功能:不能批量删除、删除目录仅把下级书签平铺(此处可加一个勾选框);

<!-- gh-comment-id:1136772066 --> @strive1216 commented on GitHub (May 25, 2022): 是的 我尝试删除大量书签后是可以正常上传了, PS:吐槽一下删除功能:不能批量删除、删除目录仅把下级书签平铺(此处可加一个勾选框);
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1609
No description provided.