omnivore-app / logseq-omnivore

Logseq plugin to fetch articles and highlights from Omnivore
MIT License
279 stars 15 forks source link

Failed to fetch articles #79

Closed auspiciouslink closed 1 year ago

auspiciouslink commented 1 year ago

I'm really not sure what I'm doing wrong. I had gotten this set up and working with the API key a week ago, and now it won't work! Clicking the button returns a pop-up "Failed to fetch articles," no further reason given.

What I've tried:

I am properly out of ideas :sweat_smile: Hoping you have some!

jacksonh commented 1 year ago

@auspiciouslink Can you open the Developer Console in Logseg (go to View menu, then choose Toggle Developer Tools), from there can you check the Console and Network tabs for errors?

Screenshots would be helpful, if you don't want to attach them here can you email them to feedback@omnivore.app ?

jacksonh commented 1 year ago

The one other item I would try too is changing the syncAt value in your plugin settings (screenshot below). This is the last time a sync successfully completed, if it is a recent time that means we think we are syncing successfully.

Screen Shot 2023-03-15 at 10 20 45
auspiciouslink commented 1 year ago

Hi @jacksonh, thanks so much for the Console tip! I didn't even realize there was a View menu with developer tools available.

It was all down to a misplaced } in a tag in my format default that wasn't failing gracefully: Error: Unclosed section "author" at 266"

I was able to get it back running by moving the } ! If there's a way to pass the error into the failure message, that might help relative n00bs like me figure out what's happening in future cases.

jacksonh commented 1 year ago

Great! Maybe when there are failures like that we can write more info on the Omnivore page