Get your own customer support community
 

API - unhelpful errors when modifying contact

I'm experimenting with the API - obviously when you're trying to find your way around is when error responses can really be of help.

So, if I post the following incorrect XML to https://myco.freeagentcentral.com/con...

<?xml version="1.0" encoding="UTF-8"?>
<contact>
<organisation>Blah</organisation>
<first-name>Blah</first-name>
<last-name>Blah</last-name>
<phone-number>Blah</phone-number>
</contact>

I get the following back:

<?xml version="1.0" encoding="UTF-8"?>
<errors>
</errors>

Which is a little terse :-)

Maybe something like

<?xml version="1.0" encoding="UTF-8"?>
<errors>
<error>Unknown field organisation</error>
</errors>

would be more helpful?
 
happy I’m fine. Just wanting to save other people the hassle...
Inappropriate?
1 person has this problem

The company has a solution in progress.


User_default_medium