Mattermost, Inc.

Fail to get file info with the system_admin role

I try to use the admin user with system_admin role to get file info, but only get 403 error, Below is the detail information of the request and response:
http://localhost:8065/api/v4/files/bhb1szefxfrmt8fi1nb4psxn4h/info
{ id: ‘api.context.permissions.app_error’,
message: ‘You do not have the appropriate permissions’,
detailed_error: ‘’,
request_id: ‘t9pxmf4u67rz9xb44mie9hgkxw’,
status_code: 403 }

Is there any possible to do so by admin user, or I must use the file uploader to get the file info? Thanks in advance.

Hi @baoljyj,

Thanks for your feedback,

Could you share which server version of Mattermost you have installed?

Also, I’m not sure whether the API documentation will be of assistance?