I found the reason for this error. The value of "0" for a datatype sounded suspiciously like a conversion problem. And that's what it was. I had a STRING for the "ItemID" field, and it should be a number. (Of course they're all strings, but the string has to comprise only digits, not letters or other symbols.)
So once I changed ItemID to be "12345" instead of "Donations", eveything worked.
You really need to make a change in your documentation for "Form Fields": You must state that "ItemID" needs to comprise numbers in the string, and state that anything other than digits here will not work.
Announcement
Collapse
No announcement yet.
Error returned from form is incomprehenisble and inappropriate, seemingly
Collapse
X
-
Error returned from form is incomprehenisble and inappropriate, seemingly
Hi,
I am testing a new form with FaaS. I get this error returned:
Code:The 'urn:APISchema.xsd:ItemID' element is invalid - The value '0' is invalid according to its datatype 'Long' - The MinInclusive constraint failed..
Code:<input id="ItemID1" type="hidden" name="ItemID1" value="Donation" />
This is a fixed field, meaning it's not altered or set by user input.ItemID ItemID1 YES 1 Donation
So why am I getting this error, and how do I correct it?
Thanks!Last edited by Lew; 09-27-2015, 12:12 PM.Tags: None
Leave a comment: