Skip to content

[Bug]: [META] Error during publishing, mostly because of GitHub REST API. #389

@Mara-Li

Description

@Mara-Li

Command used

Upload single current active note

Plugin version

7.6.1

Describe the bug

In some condition, user can't publish their own files, while the error can't be replicated on my side:

Users get errors:

  • 422 : /git/refs
  • 500 : /repos/{user}/{name}/contents/{filepath}
  • 409 : /repos/{user}/{name}/contents/{filepath}
  • 422 : /repos/{user}/{name}/pulls

How to reproduce ?

Unknow.
Sometimes with incorrect Token the issue can be reproduced.


Theories

  • Incorrect configured PAT with expiration date
  • PAT are shared somehow (sync?) and was deleted / inactivated by GitHub after detection.

Metadata

Metadata

Assignees

Labels

🐛 BugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions