You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to use the gem to upload purchase orders from another app to Xero but I'm running into validation errors which I'd like to handle. However the puchase_order.errors array isn't being populated with the validation errors when save fails:
We've also been seeing these errors raised rather than having them parsed and placed on the object as errors:
ValidationException: A validation exception occurred Generated by the following XML: <ApiException xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ErrorNumber>10</ErrorNumber> <Type>ValidationException</Type> <Message>A validation exception occurred</Message> <Elements>...
Hello,
I'm attempting to use the gem to upload purchase orders from another app to Xero but I'm running into validation errors which I'd like to handle. However the
puchase_order.errors
array isn't being populated with the validation errors whensave
fails:Is this a bug or is it expected behaviour?
The text was updated successfully, but these errors were encountered: