Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all responses return proper JSON #2

Open
msukmanowsky opened this issue Mar 26, 2012 · 0 comments
Open

Not all responses return proper JSON #2

msukmanowsky opened this issue Mar 26, 2012 · 0 comments

Comments

@msukmanowsky
Copy link
Owner

ReportSuite.DeletePaidSearch for example only returns 1 or 0 as (its response)[https://developer.omniture.com/en_US/documentation/omniture-administration/r-deletepaidsearch].

Right now ROmniture's client will crash when it tries to parse this as JSON. Recommend throwing around a try/catch block to attempt to parse JSON and if we can't, then simply return the raw response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant