-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
"Resource Not Found: groupKey" randomly appears #166
Comments
Temporary fixed adding some timeouts, but it's not an elegant solution... |
@rakyll Any progress on this? |
This looks like a race condition that's happening at the API level, not at our client level. Specifically at TEST 4 -------- TEST 4 --------------
Group create: { kind: 'admin#directory#group',
id: '03tbugp118bejev',
etag: '"KbzxxlrznavcDE7kirZiCFvGH0s/Siz_CPzNREhf4MGin9AJq_VZrLc"',
email: 'johnny-test@jillix.com',
name: 'johnny-test',
description: '',
adminCreated: true }
Member insert { errors:
[ { domain: 'global',
reason: 'notFound',
message: 'Resource Not Found: groupKey' } ],
code: 404,
message: 'Resource Not Found: groupKey' }
Member remove { errors:
[ { domain: 'global',
reason: 'notFound',
message: 'Resource Not Found: memberKey' } ],
code: 404,
message: 'Resource Not Found: memberKey' }
Group remove undefined Seems the group is created with the id |
Will devs fix this? |
Bug filed internally. b/16196229 |
Thanks! |
@IonicaBizau Wish I had a better response than this but they replied to the internal bug saying 'Won't Fix (Intended Behavior)' with a reason related to their architecture choice. Hopefully this issue will eventually resolve itself internally but for now I am closing this issue as it's technically unrelated to this API client. |
Thanks for feedback. The workaround I found is to set some timeouts (~4000ms) to be sure that the API did its job. |
That's why I LOVE Google APIs: not only friendly error messages and great documentations - but they also fix their bugs very quickly. Go Google! |
@alfasin WONTFIX or That's the intended behavior are two fast ways to fix bugs. 😄 |
@IonicaBizau that's also the fastest way to let your customers know you don't give a sh*t about them. It's very unfortunate that a company like Google shows this kind of unprofessional attitude... |
Well, let's hope the time will fix it. 😄 Probably they try to keep the issues clean. |
I have a script that:
The code is:
Sometimes the
Resource Not Found: groupKey
error appears. I suppose that the group is not yet created and the member add request is run. How can I solve this?The output of the script is:
@rakyll Any idea? Thanks!
The text was updated successfully, but these errors were encountered: