I have an app that make the following call successfully for 99% of the users:
var profile = PlusDomains.People.get(userId);
However, some users consistently have the following error:
GoogleJsonResponseException: Not Found at fetchPhoto
When I manually go to plus.google.com/(userId) the user is there so I know the userId is good. Has anyone seen this or has any idea why it is (rarely) happening?
Thanks for any tips or pointers.
Related
i am trying to update user's role based on a CSV and decided to use App Script. Everything went well, from listing roles, getting & updating users, until inserting role assignment.
AdminDirectory.RoleAssignments.insert({
roleId: ROLE_ID,
assignedTo: data.user_id,
scopeType: 'CUSTOMER',
orgUnitId: ORG_UNIT_ID,
}, 'my_customer')
I am stuck now since the error log only show "Unknown Error"
GoogleJsonResponseException: API call to directory.roleAssignments.insert failed with error: Unknown Error.
Any help?
Thanks in advance.
It looks like the error stems from the fact that you are trying to insert an assignment role which already exists.
There is already an open issue on Google's Issue Tracker regarding this.
I suggest you star the issue here and eventually add a comment saying that you are affected by it.
I am facing some issue with product url. Url seems to look fine but some times it's get redirected to 404 and the url-key value in address bar is getting replaced with 'null'.
I am not able to find any clue why its happening.
Can you any body suggest proper method to debug such issue?
Thank You.
This is basically URL rewrite issue. Check if the url rewrites are enabled: System> Configuration > Web > Search Engine Optimization > Use Web Server Rewrites.
And if the problem still persists do check your exception.log file
I'm aware this is a 2 year old post, but I had this issue today...
all previously valid product urls got a 404 error
after a lot of failed attempts of figuring out what was going on I asked someone to take a look, to which they replied: Err, What's wrong? ...
apparently everything was fine, but my own user's session/cookie had bad data, or something.
Removing the bad cookie fixed this.
I have no idea specifically what it was because I did not think of keeping a backup of the bad cookie/session data to investigate.
But I'm guessing it had something to do with my session's customer id or user id
Next exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[HY000]:
General error: 1032 Can't find record in 'report_viewed_product_index',
query was: INSERT INTO `report_viewed_product_index`
I am following the instructions here to get a basic appscript to work. When I load the given page ("quickstart.html"), it does properly prompt me to "authorize" the connection. After authorizing, it redirects me to an error page with the error:
[ORIGINAL ERROR] generic::not_found: com.google.apps.docs.error.DocumentNotFoundException: Invalid or missing required AppKey
The invalid/missing AppKey suggests that this is a basic configuration issue. Other than the html file itself, where else should I be looking to find how/where the "AppKey" is managed?
Aha, figured it out. I had neglected to fill in the ENTER_YOUR_SCRIPT_ID_HERE variable. That was easy! :)
One user of my app reports that he gets a denied message everytime he opens the app. Reinstall and start with fresh data didn't work. I can't reproduce it and I don't throw the message by myself. Does anyone have any experience with something like this?
EDIT:
This Screenshot send me the user:
Maybe this is a problem with the Live SDK. I got these Error messages in my logs, although I'm not sure they are related:
Microsoft.Live.LiveConnectExceptionThe URL contains the resource 'files', which isn't supported.
And:
System.ArgumentExceptionpath
Microsoft.Live.LiveConnectClient.GetApiOperation(String path, ApiMethod method, String body)
Microsoft.Live.LiveConnectClient.GetAsync(String path)
Strange is that it seems to work for a whole lot of users.
thanks for your help.
Regards
Has anyone tried accessing bungie.net reach stats api (statistics from Halo Matchmaking)?
As described here http://www.bungie.net/fanclub/statsapi/Group/Resources/Article.aspx?cid=545064
I can't seem to get any data returned, for example if i use this (with correct API key and gamertag values of course) ignore the first 2 asterisks ...
**http://www.bungie.net/api/reach/reachapijson.svc/player/details/byplaylist/MyIdentifierAPIkey/Gamertag
I don't receive a response - but no errors either, am i doing something wrong?
looking to use this for a Titanium (appcelerator) app eventually.
Any help or advice welcome, thanks in advance.
Unfortunately the API is not yet live to the public. I asked in a Private Message. They didn't say when it would be live.
In the Docs that Achronos posted, he put spaces in the URL's, I'm not sure if those are supposed to be there or not, so I tried it with the spaces and I got a 403 Forbidden error page. When I remove all the spaces, I get an error page that says:
Request Error
The server encountered an error processing the request. See server logs for more details.
I kinda can't check the server logs though... Bungie did say they were having some issues with the site though, so this might be a biproduct of that. I want them to get it working soon though, I wanna see just what it can do!