kevinjalbert / notion-toolbox

This is a collection of Notion tools that work in tandem together.
https://kevinjalbert.com/consolidating-notion-projects-into-notion-toolbox/
MIT License
687 stars 59 forks source link

shortcut-append.jpeg & "Error: The data couldn't be read because it isn't in the correct format." #40

Closed florence26 closed 9 months ago

florence26 commented 10 months ago

Hello!

Apologies if this is a very simple question.

On the shortcut-append.jpeg, how do you configure the Shortcut Input for the first "if" statement? When I create a new ios shortcut and use Shortcut Input as an input, it requires me to receive an input from a certain location. I can't find a method to connect Scriptable outputs as an input to the ios shortcut. notion__

I haven't configured the shortcut-append, shortcut-delete and shortcut-refresh shortcuts yet, but after completing all the steps prior to that, I'm getting this error on my widget: notion_

Any help with these two issues will be really appreciated!

Thank you for the script!!

kevinjalbert commented 9 months ago

Looks like Shortcuts has changes in recent iOS version. This is what I have for mine right now:

image

Looks like it just changed to 'everything'.


As for the other part, the issue would be that you'd need to have the server component running somewhere – to which my instance is likely not running any more (I stopped using notion a while back).

There is this PR (https://github.com/kevinjalbert/notion-toolbox/pull/37), that I haven't fully vetted, but it would be leveraging the official API (as there wasn't an official one when I built this). That would be your best bet moving forward! Good luck and let me know if that PR worked out for you.


Closing this issue out, but do let me know if that PR's branch works out, and I'll just merge it in and make it the official way forward with this repo.

florence26 commented 9 months ago

Thanks for the info! PR #37 works as a general widget and the new task function also works fine. However, the refresh functionality and the ability to mark tasks as completed aren't. Been trying to debug it but haven't found a solution yet.