Skip to main content
Question

How to use OAuth2 with boxsdk on <myorg>.ent.box.com

  • June 3, 2025
  • 0 replies
  • 16 views

Forum|alt.badge.img

I am using python boxsdk with client_id,secret,token generated from my organization developer url (https://<myorg>.ent.box.com/developers/console)

But while I am trying to test auth, I think its not trying to validate on my organization url since its trying GET/POST on "https://api.box.com/2.0/users/me" 

and running into

error="invalid_token", error_description="The access token provided is invalid.

boxsdk.exception.BoxAPIException: Message: No "refresh_token" parameter found

Isn't I supposed to pass my specific org api URL?