[403] Access denied when downloading file with Python SDK

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.

Hi @user196

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