Skip to main content

Hello Support team.

I want to retrieve the metadata from a file. I looked into the documentation provided here: (https://developer.box.com/reference/get-files-id/#param-fields) and did the following request:

https://api.box.com/2.0/files/992668930122?&fields=name,metadata.enterprise_901597341.fqFilesMetadata

but the result came without the attached metadata. From what I look into the other responses, my request seems to be correct.
Am I doing something wrong?

Response: 
```
{
    "type": "file",
    "id": "992668930122",
    "etag": "2",
    "name": ""INSPECTION]-Screenshot from 2022-07-19 09-50-22.png",
    "metadata": null
}
```

Thank you for your attention,
Best regards.

It looks like you are doing the request right... are you sure that file has metadata on it? 


Reply