alangrainger / share-note

Instantly share an Obsidian note with the full theme exactly like you see in your vault. Data is shared encrypted by default, and only you and the person you send it to have the key.
MIT License
328 stars 17 forks source link

[Error] There was an error uploading the note, please try again. #83

Closed anonymous-99529 closed 4 months ago

anonymous-99529 commented 9 months ago

Installed the plugin and hit 'copy shared link', got this error pop-up and nothing happens.

Obsidian_UaR3KgOBLF

alangrainger commented 9 months ago

@anonymous-99529 can you please try this in the sandbox vault?

I have tested just now and it uploads without issues: https://share.note.sx/hvjkiohb#DPHPfe6LYaqGZY3w07AlIhfAAcdK6NB7HXlyMwFU6yI

  1. Open Sandbox vault
  2. Install Share Note plugin
  3. Click "Copy shared link"
  4. Wait for the plugin setup to complete, and the note should share without issues.
anonymous-99529 commented 9 months ago

same :( Obsidian_DbaK0U13Uv

alangrainger commented 9 months ago

It's possible there is something on your network blocking access to the server? Are you able to try it on a different network connection - perhaps from your mobile data?

anonymous-99529 commented 9 months ago

I ran it again a few hours later and suddenly it started working fine. FYI, it wasn't a network issue. Thank you for your kind reply. Your plugin is great.

anonymous-99529 commented 9 months ago

[Additional comment] I think I've discovered something: when I right-click on a note and create a share link as shown in the first picture, I get an error, but when I create a share link from the right menu of the note as shown in the second picture, it works fine. Maybe it has something to do with my location (South Korea) or language setting (Korean)? Obsidian_WaA5QhIDeF Obsidian_bWA1KZwGYG

geekiam23 commented 9 months ago

I second this. When sharing from the left menu, I get an error. If I use the 3 dots on the right, it works.

janinko commented 8 months ago

Yup, I can confirm the same behaviour. Can this issue be reopened?

qt-dork commented 8 months ago

Can confirm and reproduce the issue. It doesn't work from right clicking on the sidebar, but does work from right clicking the tab for the note in the tab bar, or from the three dot menu.

swehba commented 7 months ago

I get the same error message when I try to re-upload the note either from the icon/button in the share_link property or when I select the "Share Note: Force re-upload..." item from the command palette.

ferileho commented 7 months ago

I get same error on Android mobile phone. Same notes dont get this error in same Vault on Windows. Sync is by Dropbox - full sync. On Windows 10 I never get this error.

It looks that error is in notes with embed images .. Plain text notes working

image

IvanMM-TheBreachStudios commented 7 months ago

Same for me, left menu error, right menu works fine.

alangrainger commented 7 months ago

Can you updated to 0.8.11 and see if this fixes the issue?

ferileho commented 7 months ago

Can you updated to 0.8.11 and see if this fixes the issue?

In Windows OK, on Android still same problem.

janinko commented 5 months ago

Can you updated to 0.8.11 and see if this fixes the issue?

Tried on linux and it works

LemurTech commented 4 months ago

Resharing does not work for me in Windows, no matter which menu/option I try, or whether I use a different or default theme. This is with 0.8.11.

alangrainger commented 4 months ago

@LemurTech can you please test this in a Sandbox vault? (Click on the Obsidian help icon (❓) and choose open Sandbox vault.)

I can't find any issue to reshare on Windows, so it seems possible this is related to some plugin.

What is the message that you receive?

LemurTech commented 4 months ago

Indeed! Automatic Table of Contents plugin is the culprit! When TOC is removed, I have no issues!