cancel
Showing results for 
Search instead for 
Did you mean: 

Min Name lengths

I keep getting this error message:

 


The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:name' element is invalid - The value '' is invalid according to its datatype 'String' - The actual length is less than the MinLength value.

E00003

 

I know there are maximum character string lengths, where would I find out about minimum string lengths?

cannuck1964
Member
1 REPLY 1

@cannuck1964 -- The XSD contains that information:

https://api.authorize.net/xml/v1/schema/AnetApiSchema.xsd

 

Also, we only set minLength for required fields. Our API Reference flags required elements, so you should be able to work from the API Reference instead of the raw XSD.

 

While there are a few elements called "name" in our XML API, the main one is in merchantAuthentication, and is always required in every context, so I'd check there first.

--
"Move fast and break things," out. "Move carefully and fix what you break," in.
Lilith
Administrator Administrator
Administrator