Skip to main content

[403] Access denied when downloading file with Python SDK

  • February 28, 2024
  • 1 reply
  • 176 views

Hi there, I’m trying to download files created by someone within the same organization with Python SDK, but I get [403] access_denied_insufficient_permissions

I can get file’s information (file id and name) with client.file(file_id).get(), but I get the above error when I try client.file(file_id).content().

Here’s my app’s status

  • Authentication with Client Credentials Grant (already authorized)
  • Both reading/writing files are allowed
  • The service account has the access to the folder as Editor.

Could anybody give me advice on the cause of this error?
Thank you.

CodeBoxSeb
  • Participating Frequently
  • March 1, 2024

Hi @user196

Did you check if this is due to one of these reasons :


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings