Skip to content

Experiencing 403s even though .obsidian folder is pushed #43

@BlckHawker

Description

@BlckHawker

Describe the bug
After creating an empty repository and putting in the correct information for the plugin, I get a 403 error after attempting to sync.

To Reproduce

  1. Create a new empty repository
  2. Create a token with read and write permission for contents
Image
  1. Add the correct information in obsidan plugin
    • user name
    • repo name
    • token
Image
  1. Press the sync button on the left side of the application.
Image

Expected behavior
The initial sync should work without any errors and all of my files should be on github, or an error would appear with nothing being on the repo.

Actual behavior
A 403 message appears. Something along the lines failing to create a blob. I couldn't read it very well before it disappeared. Despite getting this error, the .obsidian folder is pushed to the repo, but nothing else.

Repo
Image

Windows Explorer
Image

Any additional attempted syncs give a new error along the lines of "No such file or directory open".


Additional Reproduction
5. Delete .obsidian directory via github

Image
  1. Clear metadata
  2. Input credentials with regenerated token
  3. Press the sync button on the left side of the application

Expected behavior
Either the same encountered errors, or a successful push

Actual behavior
A 401 error happening

Additional Notes
It would be beneficial to log the error within the console as the json is too dense for initial debugging, and the pop up alert goes away to fast for me to comprehend what the problem is.

log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions