Skip to main content
Question

how to use App Token with Python SDK?

  • May 22, 2025
  • 1 reply
  • 38 views

Forum|alt.badge.img

Hi Team,

I am following below guide to use APP TOKEN for python SDK. 

https://developer.box.com/guides/authentication/app-token/with-sdk/ 

But i am facing below error.. can you please help here?

auth = OAuth2(access_token='xxxxxxxx')
TypeError: __init__() missing 2 required positional arguments: 'client_id' and 'client_secret'

1 reply

Forum|alt.badge.img

Hello, 

Have you taken a look at the SDK documentation itself here

Best,

Kourtney, Box Developer Advocate