I have tried two ways of getting a a file size info from a private file stored in AWS:
First by adding in the header the api token I have generated in Settings/API section
The second by adding directly the api token in the url of the private file:
In both case i get a 403 or a 401 error from aws.
When i try to get the file size from a non private file there is no issue.
Any advice ?