Working with the AccountRight Live API
For some tips and tricks to assist developers debugging the SDK whilst saving data, the team have put together the following blog post to help aid and assist the process.
On the back of the blog, SDK Errors Collection from version 2.0.9 and on-wards is able to directly grab the error Information from the exception: ApiCommunicationException
The screenshot above shows an attempt to Insert (POST) a Customer contact with a DisplayID (CardID) that already exists, the validation returns an appropriate DuplicateCardID message and code.
For a full listing of standard errors and warnings for the AccountRight API and SDK click here
Copyright © 2020 MYOB Technology Pty Ltd