Auth0 Home Blog Docs

Phone_number is not allowed

api
management-api
user-creation

#1

Hi guys,

Hope you are well.
I seem to be struggling with creating a user profile and assigning to a user database (connection).
I keep getting told: phone_number is not allowed - “errorCode”: “invalid_body”
I have set the value as +447985467XXX so I am within the 1-15 range with the +.

Anyone shed any light on this please?

thanks

Raj


#2

Hi Raj

I am seeking an answer to this question too, as this is happening to me too.

Please see this other question, which might help…

I think I will stop trying to set the phone number in the user profile and add it to the app metadata instead.

Regards
Dean