Hi folks, I’m trying to create a new Trigger Module - Shared, but I’m getting this error
“Missing uid in configuration.” when I try to call the webhook URL using Postman as a test.
I had configured the uid in my Connection as the Documentation says:
Looking at your connection etc. I might have an idea of what needs to change.
Please bear with me, as I do not have access to SnackPrompt and an API-key to verify response data etc.
Here is some comments/thoughts on your code:
Connection body.response.uuid - Is the response like this? - is the uuid returned in a response object, inside the body?
Since I have no insight in the data returned by this endpoint. I just want to draw your attention too this, and that it might not be correct. - I would expect something like {{body.uuid}}.
"response": {
// Take notive of the responce from the call in the URL.
// Try calling the URL in postman with your key, see what the response looks like??
"uid": "{{body.uuid}}",
// If it has a validation in the body response, you should parse it. :)
"valid": "{{body.ok}}",
"metadata": {
"type": "email",
"value": "{{body.user_email}}"
}
},
Another test you can do is creating a fake UID in the connection e.g. “UID”: “somethingsomething”
And use the Make DevTool to debug the code, when using the webhook?
Webhook
Looks correct.
Hope this helps you on your way.
If this does not work, please provide some screenshots of the output from the connections (Dev Tool) - IMPORTANT! - Remember to obfuscate keys, data you don’t want us to see, but leave the keys shown, so we can see ho the data looks.
Do the same for the webhook.
Kind regards
/Riko
system
This topic was automatically closed because it's resolved or inactive. Please, start a new topic.
3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.