

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
2 messages in com.googlegroups.google-finance-apis[Google Finance APIs] Re: getFeed err...| From | Sent On | Attachments |
|---|---|---|
| FinAPIUser33 | Jun 4, 2009 10:20 am | |
| davi...@gmail.com | Jun 15, 2009 7:29 pm |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | [Google Finance APIs] Re: getFeed error (ServiceException) on an accounts with larger portfolios | Actions... |
|---|---|---|
| From: | davi...@gmail.com (davi...@gmail.com) | |
| Date: | Jun 15, 2009 7:29:48 pm | |
| List: | com.googlegroups.google-finance-apis | |
I get a similar error when I have a total of 200 symbols and/or transactions total across all portfolios. I'm hoping that Google will increase this limitation in the future. Lately, the error message has been changed from service unavailable to max 200 transactions.
-----Original Message----- From: goog...@googlegroups.com [mailto:goog...@googlegroups.com] On Behalf Of FinAPIUser33 Sent: Thursday, June 04, 2009 10:21 AM To: Google Finance APIs and Tools Subject: [Google Finance APIs] getFeed error (ServiceException) on an accounts with larger portfolios
I am trying to access a portfolio feed for my account, which has a larger portfolio (about 375 names) and am receiving a Service Unavailable message from a thrown ServiceException. The code works fine on an account with a smaller portfolio. Is the interface really that unstable? The code is simple and follows:
... FinanceService myService = new FinanceService("test123-exampleApp-1"); myService.setUserCredentials("myus...@a.com", "password");
String requestUrl = "http://finance.google.com/finance/feeds/default/ portfolios"; PortfolioFeed portfolioFeed = myService.getFeed(new URL(requestUrl), PortfolioFeed.class); ...
The relevant exception error information that I receive follows:
- ServiceException.getHttpErrorCodeOverride()
HTTP Error Code Override: 503
- ServiceException.getResponseBody()
Server Error, Retry
- ServiceException.toXmlErrorMessage() returns:
<errors xmlns='http://schemas.google.com/g/2005'> <error> <domain>GData</domain> <code>ServiceException</code> <internalReason>Service Unavailable</internalReason> </error> </errors>
---
- The ServiceException.printStackTrace() returns:
com.google.gdata.util.ServiceException: Service Unavailable Server Error, Retry
at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse (HttpGDataRequest.java:587) at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse (GoogleGDataRequest.java:543) at com.google.gdata.client.http.HttpGDataRequest.checkResponse (HttpGDataRequest.java:535) at com.google.gdata.client.http.HttpGDataRequest.execute (HttpGDataRequest.java:514) at com.google.gdata.client.http.GoogleGDataRequest.execute (GoogleGDataRequest.java:515) at com.google.gdata.client.Service.getFeed(Service.java:1017) at com.google.gdata.client.Service.getFeed(Service.java:880) at com.google.gdata.client.GoogleService.getFeed(GoogleService.java: 631) at com.google.gdata.client.Service.getFeed(Service.java:899) at com.ahc.Main.main(Main.java:71)
Any help with this is greatly appreciated!!!
Thanks.
No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.339 / Virus Database: 270.12.53/2156 - Release Date: 06/05/09 06:24:00
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Finance APIs and Tools" group.
To post to this group, send email to goog...@googlegroups.com
To unsubscribe from this group, send email to
google-finance-apis+unsu...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/google-finance-apis?hl=en
-~----------~----~----~----~------~----~------~--~---







