Value for field 'someCustomField' exceeds max length | Community
Skip to main content
June 6, 2016
Question

Value for field 'someCustomField' exceeds max length

  • June 6, 2016
  • 5 replies
  • 4784 views

Hi,

I have a custom field with Text type.

When I try to update a lead with about 2400 characters length, I get this error.

{"code":"1003","message":"Value for field 'someCustomField' exceeds max length"}

A strange thing is there are already 2 leads with more than 2400 characters length, like 3500 and 4000.

But this one gets an error.

What could be the reason for this lead to fail?

Cheers,

Hidenari

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

Grégoire_Miche2
Level 10
June 6, 2016

Are you sure it's a Text Area field? It looks like it is a String field (max length 255 chars, AFAIK)

Greg

June 6, 2016

I'm sure it is Text.

It doesn't explain that if it is String, all the other leads have more than 255.

I know it is strange but that's what I'm experiencing.

Kenny_Elkington
Adobe Employee
Adobe Employee
June 6, 2016

Text type fields have a max length of 2000 characters.  Text area types have a max length of 30000.

June 6, 2016

There is no mention about "Text" field type in here:

http://developers.marketo.com/documentation/getting-started/field-types/

Only "Textarea" is available.

In the Field Management tool, I can only choose "Text Area".

I use the word "Text" because when I view it in the management tool, it says "Text" but I believe this is "Text Area" type.

Grégoire_Miche2
Level 10
June 6, 2016

The field creation wizard proposed string and text area.

-Greg

June 6, 2016

I have started experiencing this same issue for many clients starting a few days ago when it had never happened before. When queried through the API the field type is 'text' even though this is not an option anywhere in the documentation and we request clients create the field as a textArea. Has anything changed regarding this?

June 6, 2016

Finally at least one person is experiencing the same issue as mine.

SanfordWhiteman
Level 10
June 6, 2016

I am as well.  Fields started switching up types on me and I had to hard-code overrides in my integration layer.  Very frustrating.

@Mike Langellotti​

Michael_Langell
Level 4
June 7, 2016

Hi everyone,

I have actually seen this field type before, and I think you will only see it with SFDC custom fields.  It is the default field type when a custom field is created in Marketo by Salesforce with a text type.  The SFDC text type could be text or text area.  Marketo does not differentiate the SFDC field type and just labels both as text.  Just looked in my instance to confirm this.

So that is why you would get errors with some text fields above 255 and others will be fine.  Depends on what the field type in SFDC and the associated character limit is.      

Custom Field Types 

However, I cannot answer why this would be giving you more issues now.

-Mike

June 7, 2016

Thanks for the reply! Syncing from Salesforce seems to bea commonality between the clients I am seeing this problem with. I have clients that have custom fields they created in Salesforce (with the __c suffix) and clients that have fields without that suffix that they must have created in Marketo but all impacted clients have at least some fields syncing from Salesforce. It's possible Marketo started doing a check on the field length in Salesforce recently and rejecting data that will not fit that.

Michael_Langell
Level 4
July 26, 2016

FYI all,

I actually got the below response on 7/12, but figured I would send to you all as well.  The issue should be fixed now.  Let me know if any of you are still experiencing problems. 

This has been resolved by our engineers. A patch was developed and released on Friday. Please let me know if this is still an issue for you or if the patch resolved it.

-Mike 

August 5, 2016

Thank you for sharing. I have confirmed this in testing.