Invalid HTML response to CheddarGetter_Client::cancelSubscription
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.
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 22 Sep, 2009 08:47 PM
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.
Marc Guyer closed this discussion on 22 Sep, 2009 08:47 PM.
Frank Koehl re-opened this discussion on 22 Sep, 2009 09:17 PM
2 Posted by Frank Koehl on 22 Sep, 2009 09:17 PM
That's interesting, because all I did was use the method built into your stock PHP library.
My test now processes successfully.
Support Staff 3 Posted by Marc Guyer on 22 Sep, 2009 09:38 PM
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.
Marc Guyer closed this discussion on 22 Sep, 2009 09:38 PM.