Hi, I need to upload documents on a regular basis to an internal Box account with my enterprise app. I have a python script that pulls files across a tunnel and then will need to push them into a specific box folder.
Using JWT, box generated public/private key.
Enterprise app is approved, I have a service account.
I've attached the enterprise app service account to the box folder I want to use, even made them co-owner.
Access token allows me to see the folder, but whenever I try to upload a file to the folder I'm getting these errors:
[31m"OPTIONS https://api.box.com/2.0/files/content" 403 0
{'Date': 'Tue, 15 Feb 2022 16:39:57 GMT', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'x-envoy-upstream-service-time': '103', 'www-authenticate': 'Bearer realm="Service", error="insufficient_scope", error_description="The request requires higher privileges than provided by the access token."', 'box-request-id': '0d217a9cfb69f96b33612a57e4b53e785', 'strict-transport-security': 'max-age=31536000'}
b''
[0m
The process worked ok using the 1 hr developer token.
