java.lang.RuntimeException: Invalid return code '503'
The box sdk throwing the exception:
java.lang.RuntimeException: Invalid return code '503', expecting: 200, 404, 429. 'https://api.box.com/2.0/users?offset=24000&limit=1000&fields=name,id,login' {"type":"error","status":503,"code":"service_unavailable","help_url":"http://developers.box.com/docs/#errors","message":"Service Unavailable","request_id":"067f555eafd07e518127d15f17bf9a27"},
Thanks,
AmeerBasha
-
Are you still seeing this error?
https://developer.box.com/guides/api-calls/permissions-and-errors/common-errors/#503-unavailable
-
Hi,
I am still facing the same issue. I am posing the error message:
retrieveSyncMshipsMillis: 1072, syncMshipCount: 91426, propagateProvisioningAttributes_millis: 5622, targetRetrieveAllGroups: 1, retrieveGrouperGroupsMillis: 4, grouperGroupCount: 30, retrieveGrouperEntitiesMillis: 330, grouperEntityCount: 21719, retrieveGrouperMshipsMillis: 176, grouperMshipCount: 13499, provisioningGroupsToDeleteCount: 1, targetRetrieveAllEntities: 1, provisioningEntitiesToDelete: 32592, provisioningMshipsToDelete: 77929, targetRetrieveAllMemberships: 1, exception: java.lang.RuntimeException: Invalid return code '503', expecting: 200, 404, 429. 'https://api.box.com/2.0/groups/<id>/memberships?limit=1000&offset=0' {"type":"error","status":503,"code":"service_unavailable","help_url":"http://developers.box.com/docs/#errors","message":"Service Unavailable","request_id":"15c8380a51b9c6f553293f1b90723041d"}
at edu.internet2.middleware.grouper.app.boxProvisioner.GrouperBoxApiCommands.executeMethod(GrouperBoxApiCommands.java:245)
at edu.internet2.middleware.grouper.app.boxProvisioner.GrouperBoxApiCommands.executeGetMethod(GrouperBoxApiCommands.java:151)
at edu.internet2.middleware.grouper.app.boxProvisioner.GrouperBoxApiCommands.retrieveBoxGroupMembers(GrouperBoxApiCommands.java:836)
at edu.internet2.middleware.grouper.app.boxProvisioner.GrouperBoxTargetDao.retrieveAllMemberships(GrouperBoxTargetDao.java:534)
at edu.internet2.middleware.grouper.app.provisioning.targetDao.GrouperProvisionerTargetDaoAdapter.retrieveAllMemberships(GrouperProvisionerTargetDaoAdapter.java:223)
at edu.internet2.middleware.grouper.app.provisioning.targetDao.GrouperProvisionerTargetDaoAdapter.retrieveAllData(GrouperProvisionerTargetDaoAdapter.java:735)
at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningLogic$1.run(GrouperProvisioningLogic.java:1740)
at java.lang.Thread.run(Thread.java:750)
, finalLog: true, queryCount: 60, tookMillis: 103335, took: 00:01:43.335
at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioner.provisionFinallyBlock(GrouperProvisioner.java:910)
at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioner.provision(GrouperProvisioner.java:829)
at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningFullSyncJob.runFullSync(GrouperProvisioningFullSyncJob.java:56)
at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningFullSyncJob$1.callback(GrouperProvisioningFullSyncJob.java:30)
at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:1000)
at edu.internet2.middleware.grouper.GrouperSession.internal_callbackRootGrouperSession(GrouperSession.java:1069)
at edu.internet2.middleware.grouper.GrouperSession.internal_callbackRootGrouperSession(GrouperSession.java:1036)
at edu.internet2.middleware.grouper.app.provisioning.GrouperProvisioningFullSyncJob.run(GrouperProvisioningFullSyncJob.java:19)
at edu.internet2.middleware.grouper.app.loader.OtherJobBase$2.callback(OtherJobBase.java:439)
at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:1000)
at edu.internet2.middleware.grouper.GrouperSession.internal_callbackRootGrouperSession(GrouperSession.java:1069)
at edu.internet2.middleware.grouper.GrouperSession.internal_callbackRootGrouperSession(GrouperSession.java:1036)
at edu.internet2.middleware.grouper.app.loader.OtherJobBase.execute(OtherJobBase.java:392)
at edu.internet2.middleware.grouper.app.loader.OtherJobBase.execute(OtherJobBase.java:376)
at edu.internet2.middleware.grouper.app.loader.GrouperDaemonJob.execute(GrouperDaemonJob.java:57)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)Please let me know if you need anything.
サインインしてコメントを残してください。
コメント
2件のコメント