GAM-team / GAM

command line management for Google Workspace
https://github.com/GAM-team/GAM/wiki
Apache License 2.0
3.5k stars 470 forks source link

Mobile device commands : ERROR: 500: Internal Error #767

Closed Mike-DS closed 6 years ago

Mike-DS commented 6 years ago

Hello,

I'm having troubles with the GAM command "gam delete mobile " All other gam commands I'm running are working flawlessly (except the one for mobile devices, info / update / delete).

I tried with different GAM (my colleagues are all using different project) all the same result.

YES I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue. YES I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki

Expected outcome (what are you trying to do?): Remove a mobile from an user / the domain

Actual outcome (what errors or bad behavior do you see instead?): C:\Users\MichaelDS\tools\gam>gam delete mobile 3f9d3b7d3d43c2b0 Temporary error: internalError, Backing off: 16 seconds, Retry: 4/10 Temporary error: internalError, Backing off: 32 seconds, Retry: 5/10 Temporary error: internalError, Backing off: 60 seconds, Retry: 6/10 Temporary error: internalError, Backing off: 60 seconds, Retry: 7/10 Temporary error: internalError, Backing off: 60 seconds, Retry: 8/10 Temporary error: internalError, Backing off: 60 seconds, Retry: 9/10

ERROR: 500: Internal Error - internalError

Additional info : C:\Users\MichaelDS\tools\gam>gam oauth info

OAuth File: C:\Users\MichaelDS\tools\gam\oauth2.txt Client ID: Secret: Scopes (28): https://apps-apis.google.com/a/feeds/emailsettings/2.0/ https://www.googleapis.com/auth/admin.datatransfer https://www.googleapis.com/auth/admin.directory.customer https://www.googleapis.com/auth/admin.directory.device.chromeos https://www.googleapis.com/auth/admin.directory.device.mobile https://www.googleapis.com/auth/admin.directory.domain https://www.googleapis.com/auth/admin.directory.group https://www.googleapis.com/auth/admin.directory.notifications https://www.googleapis.com/auth/admin.directory.orgunit https://www.googleapis.com/auth/admin.directory.resource.calendar https://www.googleapis.com/auth/admin.directory.rolemanagement https://www.googleapis.com/auth/admin.directory.user https://www.googleapis.com/auth/admin.directory.user.security https://www.googleapis.com/auth/admin.directory.userschema https://www.googleapis.com/auth/admin.reports.audit.readonly https://www.googleapis.com/auth/admin.reports.usage.readonly https://www.googleapis.com/auth/apps.groups.settings https://www.googleapis.com/auth/apps.licensing https://www.googleapis.com/auth/apps.order https://www.googleapis.com/auth/classroom.courses https://www.googleapis.com/auth/classroom.guardianlinks.students https://www.googleapis.com/auth/classroom.profile.emails https://www.googleapis.com/auth/classroom.profile.photos https://www.googleapis.com/auth/classroom.rosters https://www.googleapis.com/auth/cloudprint https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/pubsub https://www.googleapis.com/auth/userinfo.email G Suite Admin: michael.dos-santos.ext.adm@domain.com

Please help :) Regards, Michaël

jay0lee commented 6 years ago

please post this in the discussion forum.

git.io/gam-group

taers232c commented 6 years ago

Michaël,

You're using a deviceId, you need to be using a resourceId; they look like this: xxx xQ_1Y6FEclyN7m262TzQLAq7_bYXgW17G6R19yOaRu4WF6EuwlU_HNu3Uk4KoYnzXRiuGKn02Ir4Ut_WystG9Ig5qN7wkbB8fzgZ2WQxbzNGh4lxxxx

Ross

On Thu, Jul 26, 2018 at 6:57 AM Mike-DS notifications@github.com wrote:

Hello,

I'm having troubles with the GAM command "gam delete mobile " All other gam commands I'm running are working flawlessly (except the one for mobile devices, info / update / delete).

I tried with different GAM (my colleagues are all using different project) all the same result.

YES I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue. YES I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki

Expected outcome (what are you trying to do?): Remove a mobile from an user / the domain

Actual outcome (what errors or bad behavior do you see instead?): C:\Users\MichaelDS\tools\gam>gam delete mobile 3f9d3b7d3d43c2b0 Temporary error: internalError, Backing off: 16 seconds, Retry: 4/10 Temporary error: internalError, Backing off: 32 seconds, Retry: 5/10 Temporary error: internalError, Backing off: 60 seconds, Retry: 6/10 Temporary error: internalError, Backing off: 60 seconds, Retry: 7/10 Temporary error: internalError, Backing off: 60 seconds, Retry: 8/10 Temporary error: internalError, Backing off: 60 seconds, Retry: 9/10

ERROR: 500: Internal Error - internalError

Additional info : C:\Users\MichaelDS\tools\gamVeolia-3>gam oauth info

OAuth File: C:\Users\MichaelDS\tools\gam\oauth2.txt Client ID: Secret: Scopes (28): https://apps-apis.google.com/a/feeds/emailsettings/2.0/ https://www.googleapis.com/auth/admin.datatransfer https://www.googleapis.com/auth/admin.directory.customer https://www.googleapis.com/auth/admin.directory.device.chromeos https://www.googleapis.com/auth/admin.directory.device.mobile https://www.googleapis.com/auth/admin.directory.domain https://www.googleapis.com/auth/admin.directory.group https://www.googleapis.com/auth/admin.directory.notifications https://www.googleapis.com/auth/admin.directory.orgunit https://www.googleapis.com/auth/admin.directory.resource.calendar https://www.googleapis.com/auth/admin.directory.rolemanagement https://www.googleapis.com/auth/admin.directory.user https://www.googleapis.com/auth/admin.directory.user.security https://www.googleapis.com/auth/admin.directory.userschema https://www.googleapis.com/auth/admin.reports.audit.readonly https://www.googleapis.com/auth/admin.reports.usage.readonly https://www.googleapis.com/auth/apps.groups.settings https://www.googleapis.com/auth/apps.licensing https://www.googleapis.com/auth/apps.order https://www.googleapis.com/auth/classroom.courses https://www.googleapis.com/auth/classroom.guardianlinks.students https://www.googleapis.com/auth/classroom.profile.emails https://www.googleapis.com/auth/classroom.profile.photos https://www.googleapis.com/auth/classroom.rosters https://www.googleapis.com/auth/cloudprint https://www.googleapis.com/auth/plus.me https://www.googleapis.com/auth/pubsub https://www.googleapis.com/auth/userinfo.email G Suite Admin: michael.dos-santos.ext.adm@domain.com

Please help :) Regards, Michaël

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jay0lee/GAM/issues/767, or mute the thread https://github.com/notifications/unsubscribe-auth/AIU8L4f27k0LI8haB4j7RnCmGamnURoUks5uKcq2gaJpZM4Vh3lo .

-- Ross Scroggs ross.scroggs@gmail.com