Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Listing files requires files:write permissions #5073

Open
NuroDev opened this issue Feb 22, 2025 · 0 comments
Open

Listing files requires files:write permissions #5073

NuroDev opened this issue Feb 22, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@NuroDev
Copy link

NuroDev commented Feb 22, 2025

Description

Currently if you make a new API token with a files:read scope & try to list files you will get back a 403 error.

Current Behavior

If you make a new token that contains only the files:read scope and try to list all files, you get the following permissions error:

SDKError: API error occurred: Status 403 Content-Type application/json Body
{"error": "insufficient_scope", "error_description": "The request requires higher privileges than provided by the access token."}

Expected Behavior

Adding the files:write scope fixes this issue so ideally it should be fixed such that only the files:read scope is required to read all files.

Environment:

  • Operating System: macOS 15.3.1
  • Browser (if applicable): N/A

@NuroDev NuroDev added the bug Something isn't working label Feb 22, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Backlog Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Status: No status
Development

No branches or pull requests

1 participant