URI-encoded characters getting trimmed from webhook payload

I’m running n8n Cloud and getting URI-encoded characters removed from the webhook request payload along with all characters after them. The characters are URI-encoded with encodeURIcomponent in Javascript before being passed in the URL as query parameters.

How do I get the original string?

Hi @bgschust, I am afraid there currently is no “don’t decode URI” option on the webhook node.

I’ve converted your question into a feature request so this can be considered in future version of n8n. Make sure to leave a vote on it!

To get an encoded string you’d manually need to encodeURI the respective string, for example like so:

Result:

I’ll probably try passing the data as headers.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.