Prop results in path failed validation error

Using the Notion modules, If I use a prop as my page ID it results in an error. If I copy the actual value of the prop it works. The error implies the prop is passed literally. What am I doing wrong?

path failed validation: path.page_id should be a valid uuid, instead was "{{steps.trigger.event.id}}".

This is where I’ve selected the prop.
image

Hi @mottlement

First off, welcome to the Pipedream community. Happy to have you!

That is very odd, based on your example above it looks like it should be injecting the Page ID by reference, and not literally {{ steps.trigger.event.id }}.

Can you share which Notion action you’re using that has this problem? It might be a bug in the action itself.

I’m using Update Page.
Now I wonder Update Page and Update Database Page are different things.
My source ID is a blank page from a Notion Database.

Below image is the erroring action

This is my trigger source (I can only put one image in each post…)

Hi @mottlement good question - have you tried using the Update Database Page action? Curious if that has a subtle difference.

Hello @mottlement,

We have created a Github issue to track this bug [BUG] Notion Update Page action shows error when set Page ID as expression · Issue #3227 · PipedreamHQ/pipedream · GitHub and we have added it into our backlog! We will updates the Github issues as progress are made, you can subscribe to it for latest updates!

If you have any question, feel free to reply me here or ping me on Pipedream Users Slack @Leo.

The issue linked, #3227 was closed by PR #3262. But it doesn’t actually resolve the issue, it just fails more gracefully.
This is what it looks like when I use the ‘Update Page’ Notion action with a prop

And I get proper results if I copy paste the contents of prop {{steps.trigger.event.id}}

Hello @mottlement ,

were you able to solve your issue? I am facing now exactly the same problem.

Thank you

Tomas

Hi @tomnico76,

First off, welcome to the Pipedream community. Happy to have you!

Which Notion action are you using specifically?

Have you tried using the Refresh Fields button in the top portion of the step to refresh the props?

Hi Pierce,

I am using update_page. Yes, I tried the refresh button without success.¨

¨
¨
Tomas

po 12. 12. 2022 v 15:26 odesílatel Pierce via Pipedream <noreply@pipedream.com> napsal:

Thanks @tomnico76

That’s what the component developers will need to know in order to validate the bug.

We accept bug submissions here for pre-built actions and triggers:

Once a developer can reproduce the bug, they’ll work on patching the issue for you.

seems the problem still there. any updates? i ran into th same issue where the property types won’t load correctly. i also tried in make.com, they have no problem doing it.

Hi @richard269090576,

Thank you for raising this issue and we’re apologize for the inconvenience. There’s a ticket track it here, please subscribe to it to be noticed when it is available

For now as a workaround, I would suggest you to use Node.js code step to call to you API. Fortunately, Pipedream has an AI code generation feature that help you on that, you can read more about it here