I am trying to create a custom action using the Zapier custom actions feature available at https://zapier.com/app/extensions/actions?selected_api=DiscordCLIAPI@1.14.0
I used the AI-generated API request with the prompt "send a discord embed," which uses the URL "https://discord.com/api/v10/interactions/{{interaction_id}}/{{interaction_token}}/callback" for a POST request. It send an application/json body with the contents
{"type": 4, "data": {"embeds": [{"title": "{{title}}", "description": "{{description}}", "color": "{{color}}"}]}}
This is all fine; however, when trying to test it on the "test" tab, I get the following error:
Error: Request to https://discord.com/api/v10/interactions/{{interaction_id}}/{{interaction_token}}/callback returned 500. Error during execution: Unhandled variable found in the domain filter {{process.env.BASE_URL}}
.
Since I did not provide valid information in the testing area, I expect an HTTP 4xx error, not a 500.
Am I doing something wrong, or is this an issue with Zapier?