I am trying to download an attachment from a page like this:
```
import requests
base_url = f"https://api.atlassian.com/ex/confluence/{CLOUD_ID}/wiki"
r = requests.get(base_url + "/download/attachments/625121497/some_document.docx?version=1&modificationDate=1761906726977&cacheVersion=1&api=v2", auth=(EMAIL, SCOPED_API_KEY))
```
With a scoped api key this fails and returns a `401: wrong scope` response. Despite having literally every `read:` permission set on the token.
When using the same request with a classic token, it just works.