Edit: I found another forum post where @Wasay-Gumloop mention’s that this is a limitation, and the Notion secret key needs to passed in as an input for the custom node (is that right?)
I’m trying to create a custom node to extract specific properties from a record in a Notion database.
The error I’m getting from Gummie is:
"> It looks like the Notion Database Search node couldn’t run because
it’s missing a required secret key. The node needs a Notion API key
to connect to your Notion account, but this key hasn’t been added to
your Gumloop workspace secrets yet.To use this node, you’ll need to add your Notion API key to your
workspace. This is a security measure to safely connect Gumloop
with your Notion account.Would you like help with adding your Notion API key to your
Gumloop workspace secrets?"
Full error log:
Notion Database Search Failed!
Command exited with code 1 and error:
Traceback (most recent call last):
File "/index.py", line 133, in <module>
print('___FUNCTION_OUTPUT___\n' + str(main('A-commerce', {'Database ID': '1b30f7b3c16b806b89fdcfbd25885486', 'Search Property': 'Engagement name', 'Output Properties': 'Workshop Address'})))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/index.py”, line 16, in main
raise ValueError(
ValueError: Missing notion_api_key
secret. Please add it to your Gumloop workspace secrets.
I checked my credentials page and reauthenticated Notion, but no luck