# Error when creating a text message in a campaign

**URL:** https://forum.mautic.org/t/error-when-creating-a-text-message-in-a-campaign/30439
**Category:** Product Support
**Created:** [January 11, 2024, 5:11am UTC](https://forum.mautic.org/t/error-when-creating-a-text-message-in-a-campaign/30439 "2024-01-11T05:11:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![iparker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/iparker/32/1936_2.png) [@iparker](https://forum.mautic.org/u/iparker)
#### Post date: [January 11, 2024, 5:11am UTC](https://forum.mautic.org/t/error-when-creating-a-text-message-in-a-campaign/30439/1 "2024-01-11T05:11:35Z")

</div>

Hello,

I would like to test the version of SMS messages/text messages via Twilio.

So I created a Twilio account and activated the plugin in Mautic.

Now when I select an action “Send text message” in the campaign builder I get a 500 internal server error.

I don’t see any error messages about this in the logs.

What could be causing this and how can I correct it?

Thanks for tips and help.

Best regards

Timo

**Your software**  
My Mautic version is: v4.4.10  
My PHP version is: 8.0.28  
My Database type and version is: 8.0.18-google

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [January 11, 2024, 9:27am UTC](https://forum.mautic.org/t/error-when-creating-a-text-message-in-a-campaign/30439/2 "2024-01-11T09:27:47Z")

</div>

Hi there,

Have you correctly set up your Twilio integration? You now have to use a messaging ID rather than the telephone number in the settings, but the docs haven’t yet been updated.

Perhaps you can share your config (please obscure any sensitive info first).

---

<div class="post-metadata">

### Author: ![iparker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/iparker/32/1936_2.png) [@iparker](https://forum.mautic.org/u/iparker)
#### Post date: [January 11, 2024, 10:19am UTC](https://forum.mautic.org/t/error-when-creating-a-text-message-in-a-campaign/30439/3 "2024-01-11T10:19:10Z")

</div>

Thanks for your reply. After clearing the cache and reset file/folder-permissions the error in the campaign-builder is gone so I can test it.

Unfortunately, I continue to have problems sending text messages. I have created my own post about this at [Problem sending text messages/SMS](https://forum.mautic.org/t/problem-sending-text-messages-sms/30441).

Attached is the information about the configuration:

![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/d/d02c272c7315641e5f6cef12dedcb2ace7963a5e.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/2/243769d86409398cd945e6f8fce83edc0b0f1e81.png)

But sending a text message/sms via a campaign now worked. Only sending a segment message didn’t work. But with that I can continue testing and working.
