- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
โ02-28-2018 08:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
โ03-01-2018 01:18 PM - edited โ03-01-2018 01:19 PM