Status: New
Owner:
ngmic...@google.com
Labels: Type-Defect Priority-Medium
New issue 806 by
zoe.pe....@gmail.com: Parse Error
http://code.google.com/p/google-api-java-client/issues/detail?id=806
Version of google-api-java-client (e.g. 1.15.0-rc)?
1.8.0-beta
Java environment (e.g. Java 6, Android 2.3, App Engine)?
Java 7
Describe the problem.
I'm trying to implement a variation of the GoogleAnalyticsExample.java.
In attachment my own class.
I got the exception that you can see below.
Analytics API responded with an error message: Unrecognized content
type:application/json;charset=UTF-8
com.google.gdata.util.ParseException: Unrecognized content
type:application/json;charset=UTF-8
at com.google.gdata.client.Service.parseResponseData(Service.java:2136)
at com.google.gdata.client.Service.parseResponseData(Service.java:2098)
at com.google.gdata.client.Service.getFeed(Service.java:1136)
at com.google.gdata.client.Service.getFeed(Service.java:998)
at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:645)
at com.google.gdata.client.Service.getFeed(Service.java:1017)
at service.MTXFeed.getAccountFeed(MTXFeed.java:74)
at service.MTXFeed.main(MTXFeed.java:37)
How would you expect it to be fixed?
I think the default Content Type (application/json;charset=UTF-8) is not
supported.
Attachments:
MTXFeed.java 3.8 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings