# Phone number data type not recognized as number

**URL:** <https://forum.bubble.io/t/phone-number-data-type-not-recognized-as-number/31978>\
**Category:** Database\
**Created:** [June 23, 2018, 12:30pm UTC](https://forum.bubble.io/t/phone-number-data-type-not-recognized-as-number/31978 "2018-06-23T12:30:29Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandramarienoonan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sandramarienoonan/32/23326_2.png) [@sandramarienoonan](https://forum.bubble.io/u/sandramarienoonan)\
**Post date:** [June 23, 2018, 12:30pm UTC](https://forum.bubble.io/t/phone-number-data-type-not-recognized-as-number/31978/1 "2018-06-23T12:30:29Z")

</div>

I’ve run into this issue a few times and can’t figure out the problem.

In my database I have a data type called “Conference call number”. The field type is “number”, as shown below:

![image](https://us1.discourse-cdn.com/bubble/original/3X/9/7/97dfa3fba41abf6ba355e30d04a92e7a6c41836b.png)

I am building a workflow that modifies this field with a phone number that the user saves to this field. But I get a workflow error (below) saying that this value is “a text” but should be a number. However, I have already specified that it is a number in my database.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/c/fc51a3aba7e33ca986fdaea3f1a7a12921f37371.png)

Any ideas as to why this is happening? Thanks.

---

<div class="post-metadata">

**Author:** ![andrewgassen](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andrewgassen/32/44248_2.png) [@andrewgassen](https://forum.bubble.io/u/andrewgassen)\
**Post date:** [June 23, 2018, 1:22pm UTC](https://forum.bubble.io/t/phone-number-data-type-not-recognized-as-number/31978/2 "2018-06-23T13:22:43Z")

</div>

The input where your users set the value of Conference call number, what is the “type” of that input? According to the error, it looks like the input type is set to text, and that’s why Bubble doesn’t like this. Bubble is saying, “Hey, you said this is supposed to be a number, but you’re sending me a text. What’s the deal?”

---

<div class="post-metadata">

**Author:** ![sandramarienoonan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sandramarienoonan/32/23326_2.png) [@sandramarienoonan](https://forum.bubble.io/u/sandramarienoonan)\
**Post date:** [June 23, 2018, 1:27pm UTC](https://forum.bubble.io/t/phone-number-data-type-not-recognized-as-number/31978/3 "2018-06-23T13:27:22Z")

</div>

Hi Andrew, I have the input type set to US Phone Number:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/a/7/a7bfbbedf9bf79aff4de37a107cd462b3b4900f9.png)

If I change the content format to Integer, the problem goes away in the workflow, but on the front end, the input field loses its phone number formatting.

---

<div class="post-metadata">

**Author:** ![andrewgassen](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/andrewgassen/32/44248_2.png) [@andrewgassen](https://forum.bubble.io/u/andrewgassen)\
**Post date:** [June 23, 2018, 1:44pm UTC](https://forum.bubble.io/t/phone-number-data-type-not-recognized-as-number/31978/4 "2018-06-23T13:44:19Z")

</div>

Gotcha. I’m wondering if Bubble sees a “US Phone” as a text. If that’s the case, you’ll likely need to change your DB setup to have “Conference call number” be a text instead of a number.

---

<div class="post-metadata">

**Author:** ![sandramarienoonan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/sandramarienoonan/32/23326_2.png) [@sandramarienoonan](https://forum.bubble.io/u/sandramarienoonan)\
**Post date:** [June 23, 2018, 6:21pm UTC](https://forum.bubble.io/t/phone-number-data-type-not-recognized-as-number/31978/5 "2018-06-23T18:21:04Z")

</div>

That worked - thank you!

---

<div class="post-metadata">

**Author:** ![wissenseeker](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/wissenseeker/32/96189_2.png) [@wissenseeker](https://forum.bubble.io/u/wissenseeker)\
**Post date:** [December 18, 2020, 10:16am UTC](https://forum.bubble.io/t/phone-number-data-type-not-recognized-as-number/31978/6 "2020-12-18T10:16:25Z")

</div>

Thanks, good man!)
