7 messages in com.googlegroups.google-picasa-data-apiRe: No Such user error| From | Sent On | Attachments |
|---|---|---|
| kary | 16 Aug 2007 00:37 | |
| Jeff S | 17 Aug 2007 08:02 | |
| Kartik Jain | 17 Aug 2007 09:18 | |
| Sven | 17 Aug 2007 10:09 | |
| Kartik Jain | 18 Aug 2007 02:55 | |
| Kartik Jain | 19 Aug 2007 21:23 | |
| Sven | 20 Aug 2007 10:14 |
| Subject: | Re: No Such user error![]() |
|---|---|
| From: | Kartik Jain (kart...@gmail.com) |
| Date: | 08/18/2007 02:55:31 AM |
| List: | com.googlegroups.google-picasa-data-api |
Hi Sven,
Please check for the userid - <kann...@gmail.com> kann...@gmail.com
This is giving an error on our end..
Do let me know if you need more info..
On 8/17/07, Sven <s....@google.com> wrote:
Hi Kartik,
Is the user you're authenticating a Picasa Web Albums user? Also, is the user a apps for your domain user or a regular user? If you can send me the username of the use you're authenticating as I can take a look. Thanks.
-Sven
On 17/08/07, Kartik Jain <kart...@gmail.com> wrote:
Hi Jeff,
Please find the code snippet below -
I am getting the error in the following line -
UserFeed userfeed = picasawebService.getFeed(new
URL("http://picasaweb.google.com/data/feed/api/user/default"),
UserFeed.class);
Code Snippet =======================================================
if(picasawebClient==null){ //PrivateKey privateKey = getPrivateKey();
//PrivateKey privateKey = AuthSubUtil.getPrivateKeyFromKeystore("/opt/picsquare/files/picasa.jks", "picasa","Picasa", "picasa"); //PrivateKey privateKey = AuthSubUtil.getPrivateKeyFromKeystore("D:/picasa.jks", "picasa","Picasa", "picasa"); String sessionToken = AuthSubUtil.exchangeForSessionToken(token, null);
PicasawebService picasawebService = new PicasawebService(null);
picasawebService.setAuthSubToken(sessionToken);
picasawebClient = new
com.picasa.struts.action.PicasawebClient (picasawebService);
UserFeed userfeed = picasawebService.getFeed(new
URL("http://picasaweb.google.com/data/feed/api/user/default"),
UserFeed.class);
picasawebClient.setUserName(userfeed.getUsername());
session.setAttribute("picasawebClient", picasawebClient
);
}
============================================================
Please let me know if you can help in any way...
On 8/17/07, Jeff S < j....@google.com> wrote:
Hi kary,
What does your request look like? If you could share the code where you make the request or post a packet trace, I'd be happy to take a look. I suspect there may be a problem in the query formatting, but I'm not sure what your query looks like.
Thank you,
Jeff
On Aug 16, 12:38 am, kary < kart...@gmail.com> wrote:
Hi,
I am getting this error of "No such user" for quite sometime...but unable to understand why this happens...the error that I get is -
com.google.gdata.util.ResourceNotFoundException: Not Found No such user.
at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse (Unknown Source) at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse (Unknown Source) at com.google.gdata.client.http.HttpGDataRequest.checkResponse(Unknown Source) at com.google.gdata.client.http.HttpGDataRequest.execute(Unknown Source) at com.google.gdata.client.http.GoogleGDataRequest.execute(Unknown Source) at com.google.gdata.client.Service.getFeed (Unknown Source) at com.google.gdata.client.GoogleService.getFeed(Unknown Source) at com.google.gdata.client.Service.getFeed(Unknown Source) at com.picasa.struts.action.PicasaAuthorizationAction.execute ( PicasaAuthorizationAction.java: 41) at org.springframework.web.struts.DelegatingActionProxy.execute( DelegatingActionProxy.java: 106) at org.apache.struts.action.RequestProcessor.processActionPerform ( RequestProcessor.java: 419) at org.apache.struts.action.RequestProcessor.process( RequestProcessor.java: 224) at org.apache.struts.action.ActionServlet.process (ActionServlet.java: 1194) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java: 689) at javax.servlet.http.HttpServlet.service(HttpServlet.java: 802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java: 252) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java: 173) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java : 213) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java: 178) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java : 126) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java: 105) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java : 107) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java: 148) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:754) at org.apache.jk.common.ChannelSocket.processConnection ( ChannelSocket.java: 684) at org.apache.jk.common.ChannelSocket $SocketConnection.runIt(ChannelSocket.java:876) at org.apache.tomcat.util.threads.ThreadPool $ControlRunnable.run( ThreadPool.java:684) at java.lang.Thread.run(Thread.java:595)
Can someone help me out in understanding the same...so that I can display a proper message to the user who is trying this...
~kary
-- Thanks, Kartik Jain. www.picsquare.com Ph: +91 93422 01622
-- Thanks, Kartik Jain. www.picsquare.com Ph: +91 93422 01622




