Showing results for 
Search instead for 
Did you mean: 
Level 8

Value length

Getting the error "Value must be at most 10 characters in length." I checked all my columns in SQL table and all of them are more than 10 characters, the shortest column is set to 15. Also since the whole forumla is underlined in red, I cannot tell which field Powerapp's is referring to. Thanks!

Level 8

Re: Value length

so I figured out which field it was referring to, now it says Value must be at most 1 characters in length, not sure what that coudl possibly be. Any ideas?

Level: Powered On

Re: Value length

what kind of control is TypeDropdown??

I see them at the end of the Patch statement.


Also, if you are saving to a SQL DB and you have autoincrement numbers and Default fields, try to use a Defaults() in your Patch statement.   Patch([db], Defaults(), { } )





Level 8

Re: Value length

Hi @Eloy

I figured out the TypeDropdown, I had it entered incorrectly, thanks for pointing that out.

Community Support Team
Community Support Team

Re: Value length

Hi @thunter,

Have you solved your problem?

If you have solved your problem, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify.


Best regards,


Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Powered On

Re: Value length

I have the same error but only when I'm using the App on my phone. When I open it on my browser I don't see any error in the code.

Anyone have any idea what it might be? 



Helpful resources


Watch Sessions On Demand!

Continue your learning in our online communities.

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round


Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

Users Online
Currently online: 83 members 4,425 guests
Please welcome our newest community members: