Shortcut fails with "get files of note", at least for this note

Testing version: 2.3.10 (13093)

What were you doing: running a shortcut

What feature did you use: get files of note

What happened: shortcut fails: “There was a problem running the shortcut”

What did you expect to happen: return files (if any) from note. This works except for a specific file that I don’t believe has any attachments.

The problem seems to be data dependent. I exported the note as a bear note but had to rename the extension from .bear to .textpack to be able to upload it.

Here is the problematic note:

Shortcut Analysis Dependencies.textpack (21.0 KB)

and here is the simple shortcut:

https://www.icloud.com/shortcuts/6f6e12737d374a13b2b332fe2801ca21

The note reported is supposed to don’t have any attachment, correct?
If this is the case, the shortcut runs fine for me and I suspect the issue might be on a database file level.

Yes, this note does not have any attachments, but the shortcut still fails for me.

If it is a database file issue, how do you suggest that I proceed?

Is there a safe way to rebuild the database or start from scratch without losing metadata like created and modified dates?

Would you like my database file for testing?

Thanks for the continued support.

If you are synching your notes (Bear Pro or Beta) try the following

  • Quit Bear
  • Delete/move this folder on your Mac ~/Library/Group Containers/9K33E33T4.net.shinyfrog.bear
    • In Finder, you can hit CMD+SHIFT+G, paste the path, and hit Enter.
  • Re-open Bear and let it sync all your notes.