Scenario suddenly stopped working – “Invalid URL in parameter ‘PHgM’” in Notion module

:bullseye: What is your goal?

Create a Notion Database item from an airtable record

:thinking: What is the problem & what have you tried?

Hi everyone,
I’m running into an issue with a scenario that has been working perfectly for months and suddenly stopped today, without any intentional changes on my side.

The scenario fails in a Notion module with the following error message:

Invalid URL in parameter ‘PHgM’.

The problem is that I don’t recognize this parameter at all. I haven’t added any URL fields recently, and I can’t figure out where this PHgM parameter is coming from or how it maps to the fields in the module or in Notion.

I’ve already tried:

  • Re-checking all mapped fields in the Notion module

  • Refreshing the connection

  • Comparing the current version with older runs that worked fine

Everything looks the same as before, and the scenario was running without issues until today.

Has anyone encountered this error before, or knows how to trace which field or mapping corresponds to this parameter name? Any help or pointers would be greatly appreciated.

Thanks in advance!

:clipboard: Error messages or input/output bundles

Invalid URL in parameter ‘PHgM’.

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

Hi,

This usually happens when one of the mapped Notion properties expects a valid URL and suddenly receives something that isn’t one, even if you didn’t change the scenario.

The “PHgM” parameter is an internal Notion property ID, not something you see by name. Most likely, the Airtable record now contains an empty value, plain text, or a malformed URL in a field mapped to a Notion URL, file, or rich text property that includes links.

I’d double-check recent records in Airtable, especially any URL or attachment fields, and test the scenario with a known “clean” record. In many cases, a single bad row is enough to break a scenario that’s been working for months.

Notion is pretty strict with URLs, and backend validation changes can surface errors like this without warning.

Hope this helps. Let us know what you find.

Regards, Tony

1 Like

Thanks Antonio for your reply!

i was going crazy checking all the URL image fields that are downloaded and then uploaded to FTP servers so that they can be uploaded to Notion, and then I finally realised that a normal URL link field was actually a rich text link (i didn’t know that Airtable accepted this).

Now everything is back working as usual!

Thanks again

1 Like