This value is too long. It should have 191 characters or less

Hi i am using the api to insert value of Custom Field i created.

Whe i try to insert data to a text field i am getting the message the value should be 191 or less.

I don’t higher limit on the database but i wasn’t able to find how to adjust the limit on the files to make it work.

Anyone have an idea on how to do that?

Ok, a bit messy but i found out that converting the field to textarea instead of just text fix the problem.

I have to change the fields type from the database as well.