Skip to main content
Question

Users are not able get user's detail using auth code.

  • May 21, 2025
  • 2 replies
  • 27 views

Forum|alt.badge.img

Currenly my app is not able to retrieve user's detail from auth code? It's gateway timed out error. Is there any issue from box's end?

2 replies

Forum|alt.badge.img

I have a very similar issue that is going on. It intermittent where sometimes it works and other times it fails at the same location. Can you check if you are having a issue with the same call? If you do not have the box API SDK outputted you can enable it by either modifiying the BOXLog.h file in its POD directory or adding in a #define for BOX_ENABLE_DEBUG_LOGGING

 

My IOS app log file shows this:

20**removed**:37:05.764299 [4219:2617290] splitViewController viewControllers at index 1 at load attachment click
20**removed**:37:05.814559 [4219:2617290] -[BOXParallelAPIQueueManager enqueueOperation:]: enqueued  GET (null) on global queue
20**removed**:37:05.815045 [4219:2617387] __50+[BOXAPIOperation globalAPIOperationNetworkThread]_block_invoke: {number = 7, name = Box API Operation Thread} started
20**removed**:37:06.821329 IAFLMobile[4219:2617290] Box Session {
    AuthVersion = 1;
    "access_token" = ;
    "expires_in" = 3600;
    "refresh_token" = "";
    "restricted_to" = "";
    "token_type" = bearer;
}
20**removed**:37:06.827031 [4219:2617290] -[BOXParallelAPIQueueManager enqueueOperation:]: enqueued  GET https://api.box.com/2.0/users/me on global queue
20**removed**:37:06.827362 [4219:2617290] -[BOXAPIQueueManager AuthOperationDidComplete:]:  GET (null) completed. Removing from set of Auth dependencies
20**removed**:37:06.827942 [4219:2617290] -[BOXAPIAppUsersAuthOperation finish]: BOXAPIOperation  GET (null) finished with state 3
20**removed**:37:06.828662 [4219:2617557] -[BOXAPIOperation executeOperation]: BOXAPIOperation  GET https://api.box.com/2.0/users/me was started
20**removed**:37:06.830655 [4219:2617557] -[BOXAPIOperation executeOperation]: Starting  GET https://api.box.com/2.0/users/me

Forum|alt.badge.img

Were you able to solve this? I am still seeing this issue pop up.