Xml response with embedded error simulation
I'd like to know how to generate errors that produce xml of the form:
<customers>
<errors>
....
</errors>
<customer>
.....
</customer>
</customers>
This type of response is referenced on http://support.cheddargetter.com/faqs/api-8/error-handling , however, I can't figure out how to cause such response to be generated. I'd like to, for testing purposes, to make sure I can handle it.
Thanks!
Discussions are closed to public comments.
If you need help with Cheddar please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Marc Guyer on 10 Dec, 2010 03:37 PM
You can test that on a plan change. This type of error only occurs if the customer is already a subscriber and an errant attempt is made to change the customer's subscription. For example:
2 Posted by michael on 10 Dec, 2010 07:49 PM
Thanks! Works perfectly.
michael closed this discussion on 10 Dec, 2010 07:49 PM.