-
Notifications
You must be signed in to change notification settings - Fork 18
Description
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
- Create a new empty repository
- Create a token with read and write permission for contents
- Add the correct information in obsidan plugin
- user name
- repo name
- token
- Press the sync button on the left side of the application.
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.
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
- Clear metadata
- Input credentials with regenerated token
- 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.

