Skip to main content
Question

Retrieve file metadata not working

  • May 27, 2025
  • 1 reply
  • 15 views

Forum|alt.badge.img

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.

1 reply

Forum|alt.badge.img
  • Author
  • Known Participant
  • 34746 replies
  • May 27, 2025

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