Skip to main content
Question

Failed to create a get guild roles (custom action) in Discord: Error executing Custom Action

  • June 3, 2024
  • 2 replies
  • 38 views

I want to give roles of items purchased on payhip to discord members. example being “John Doe has purchased ‘Blue Item’ ” then in discord they given a role called ‘blue item’.

I have an action for Discord to retrieve a list of roles from a Server, but it is coming back with an error:
 

Failed to create a get guild roles (custom action) in Discord

Error executing Custom Action to https://zapier.com/app/extensions/api/v1/actions/52248/run: {"errors":[{"status":500,"code":"action_run_error","title":"Action Run Error","detail":"An error occurred while running action 52248: Error during execution: Unhandled variable found in the domain filter `{{process.env.BASE_URL}}, discord.com`."}]}

this is the first time ever using Zapier and need some help, thanks!

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • June 4, 2024

Hi @ori 

Share more context about the error by posting screenshots that show how your Zap step is configured in EDIT mode and how your Custom Action is configured.


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • June 10, 2024

Hi @ori,

 

We apologize if you are encountering some issues with your Zap. Could you please send a screenshot of the Discord action step's " custom action " section showing all of its fields? For example:


Please blur any personal information in the screenshot to ensure your data are safe. 

Cheers!