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

Kitchensink - Ads failing: "Cannot read property 'Ads' of undefined #32

Open
tarasklimenko opened this issue May 28, 2014 · 1 comment
Labels

Comments

@tarasklimenko
Copy link

The Worklight KitchenSink app is failing to call Advertisements

Logs:

05-28 11:46:07.981: D/NONE(917): response [http://192.168.43.14:10080/ATTWLApplicationProject/apps/services/api/ATTWLKitchenSink/android/query] success: /*-secure-
05-28 11:46:07.981: D/NONE(917): {"statusCode":400,"responseID":"10","RequestError":{"ServiceException":{"Text":"Invalid input value for message part %1","Variables":"","MessageId":"SVC0002"}},"isSuccessful":true,"statusReason":"Bad Request","responseHeaders":{"Content-Length":"189","Allow":"POST","Content-Type":"application\/json"},"responseTime":499,"totalTime":500}*/
05-28 11:46:08.011: D/NONE(917): Success : Response is - {"status":200,"invocationContext":{},"invocationResult":{"statusCode":400,"responseID":"10","RequestError":{"ServiceException":{"Text":"Invalid input value for message part %1","Variables":"","MessageId":"SVC0002"}},"isSuccessful":true,"statusReason":"Bad Request","responseHeaders":{"Content-Length":"189","Allow":"POST","Content-Type":"application/json"},"responseTime":499,"totalTime":500}}
05-28 11:46:08.011: E/ViewRootImpl(917): sendUserActionEvent() mView == null
05-28 11:46:08.021: E/NONE(917): [http://192.168.43.14:10080/ATTWLApplicationProject/apps/services/api/ATTWLKitchenSink/android/query] exception. TypeError: Cannot read property 'Ads' of undefined
05-28 11:46:08.101: D/CordovaLog(917): file:///android_asset/www/default/worklight/worklight.js: Line 3333 : Uncaught TypeError: Cannot read property 'Ads' of undefined
05-28 11:46:08.101: E/Web Console(917): Uncaught TypeError: Cannot read property 'Ads' of undefined:3333
@mattcobb
Copy link
Contributor

It is calling Ads, but getting back a 400 error. It is complaining that the MessageID is invalid. Didn't know Ads had a message id.

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

No branches or pull requests

2 participants