Invalid HTML response to CheddarGetter_Client::cancelSubscription

Frank Koehl's Avatar

Frank Koehl

22 Sep, 2009 02:48 PM

When I make an API call to cancel a subscription, the cancellation seems to go properly, however the API responds with an HTML page instead of an XML object. Specifically, the body of the page includes this error message:

You've been logged out due to inactivity. Please login below.

Again, everything else looks fine, just the response.

  1. Support Staff 1 Posted by Marc Guyer on 22 Sep, 2009 08:47 PM

    Marc Guyer's Avatar

    Weird -- That response comes back when the action isn't "API enabled". All implementations of that method up to this point hadn't examined the response.

    This action is now API enabled.

  2. Marc Guyer closed this discussion on 22 Sep, 2009 08:47 PM.

  3. Frank Koehl re-opened this discussion on 22 Sep, 2009 09:17 PM

  4. 2 Posted by Frank Koehl on 22 Sep, 2009 09:17 PM

    Frank Koehl's Avatar

    All implementations of that method up to this point hadn't examined the response.

    That's interesting, because all I did was use the method built into your stock PHP library.

    My test now processes successfully.

  5. Support Staff 3 Posted by Marc Guyer on 22 Sep, 2009 09:38 PM

    Marc Guyer's Avatar

    Yeah -- the Response object will ensure that the response can be loaded into the dom and that it doesn't contain an error node.

    The response you were receiving before passed both tests with flying colors.

  6. Marc Guyer closed this discussion on 22 Sep, 2009 09:38 PM.

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

Recent Discussions

28 Mar, 2024 10:45 PM
24 Jan, 2024 08:33 AM
11 Jan, 2024 07:13 AM
30 Nov, 2023 02:07 AM
22 Nov, 2023 08:41 AM