alfred-raindrop-search: Workflow not working-- returning no results (Alfred 5 / WF 2.0.7)
Hello
Has the workflow stopped working recently? It was working up until yesterday (2023-05-07).
I receive this error in debugging:
[11:36:14.364] ERROR: Search Raindrop.io[Script Filter] JSON error: JSON text did not start with array or object and option to allow fragments not set. around line 1, column 0. in JSON:
/**** Unexpected response from server ****
{"result":true,"items":[],"count":0,"collectionId":0}
***********************************/
/**** Unexpected response from server ****
{"result":true,"items":[],"count":0,"collectionId":0}
***********************************/
I have tried everything I can think of, similar to troubleshooting steps listed in #14 and #19.
Removal and cleansing
- removed your workflow from Alfred
- uninstalled macOS Raindrop.app
- removed all caches for Raindrop and all the directories and files for raindrop and your workflow under:
~/Library/Caches/com.runningwithcrayons.Alfred - removed
~/Library/Application Support/Alfred/Workflow Data/me.westerlind.alfred.raindrop-search - removed all profiles, caches and browser caches for Raindrop
- search the entire filesystem for any other references to raindrop or raindropio - none!
- deleted
me.westerlind.alfred.raindrop-searchin Keychain Access - restarted mac
No errors or issues above so now re-install
- signed back in to Raindrop.io account in Firefox 112.02 (latest version)
- re-added 2.0.7 of your workflow
- tried re-authenticating following these steps with 2 different Raindrop accounts. Same error shown above.
- tried authenticating using a different browser, Safari, same error.
- tried installing/authenticating everything on a different computer for the first time (no cache), and received the same error.
Not sure if the folders are supposed to be like this, but I notice that no files populate in:
~/Library/Application Support/Alfred/Workflow Data/me.westerlind.alfred.raindrop-search
but show up in:
~/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/me.westerlind.alfred.raindrop-search instead.
- json files in this folder:
collections.jsoncollections_sublevel.jsontags.jsonare not empty, and seem to have all the appropriate key/value pairs.
Since I received the same error on a different computer using a completely fresh install/authentication, and I’ve tried with 2 different Raindrop accounts, that tells me that it’s probably not an issue on my end (?).
Running macOS Ventura 13.3.1, M1 Thank you
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 3
- Comments: 15 (4 by maintainers)
Version 2.0.8 is now finally out, and fixes this problem.
Sorry that it has taken a while to get this solved.
Sorry guys (I’m creator of Raindrop). Recently I removed support for old deprecated format of
searchfield value. This old format have looked like thissearch=[{"key":"word", "val": "some text"]Now instead you need just send your search value as plain text likesearch=some textThis should be an easy fix for maintainer@KodaCHC The
raindrop_alfredfile is designed for use within an Alfred workflow. Although generating a newalfredworkflowfile and installing it is possible, a simpler alternative, if you’ve already installed the Search Raindrop.io workflow, is to replace the existingraindrop_alfredfile in the workflow folder. These are the steps I followed:raindrop_alfredfile to this directory, overwriting the existing file.Now the workflow can be run from Alfred.
may I ask If you already received an update @westerlind ?
I still get the same error with 2.0.8. Any ideas?
For anyone compiling this, here’s a few points that I found helpful:
In addition to updating the
client_idandclient_secretin theclient_code.gofile with your Raindrop.io app’s values, update theclient_idin theraindrop_common.gofile:https://github.com/westerlind/alfred-raindrop-search/blob/d95dbbc197ee711cab1aa872bd65dc834b0c6119/raindrop_common.go#L42
The following replaces the hardcoded value with the value from the
client_code.gofile:In your Raindrop.io app, set the Redirect URI to
http://127.0.0.1:11038.As a troubleshooting step for authentication issues, it may be helpful to delete the
me.westerlind.alfred.raindrop-searchapplication password in the Mac’s Keychain Access app.@westerlind thank you Andreas, I thought it might be an issue with the API as well, given how often Raindrop is updated.
Hi
This does look like an issue with Raindrop’s API rather than the workflow. The same thing happens for me too, and I think it’s likely that it happens for many or all users of this workflow and other software that uses Raindrop’s API.
I have sent a mail to Raindrop to see if they know anything about this, and I will report back here when I know more.