Best answer

Zapier & Discord Error: {"content": ["Must be 2000 or fewer in length."]}

  • 25 March 2020
  • 2 replies

Hello everyone,


I created a zap to get my mails into discord, and the problem is that some of my mails are too long to be displayed, there are more than 2000 characters.

Is there a way to know how many characters I have in my message ? 


Thanks for your answers.


Best answer by Danvers 26 March 2020, 12:04

View original

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

Userlevel 7
Badge +11

Hi @Damien


It sounds like the Formatter by Zapier is going to be your friend for this one! If you select the ‘Text’ action there is an option which can count the words in the field (though not the characters), but the one that I think you’ll need is the ‘Truncate’ option. 

This will cut a field down to the number of characters that you specify

(View image larger)


So if you add this step in your Zap, and then in the Discord step, use the output of the Formatter step, then the number of characters will always be 2000 or less. 

Thank you very much, I’ll try it