Skip to main content
Question

instance_not_found

  • May 22, 2025
  • 1 reply
  • 18 views

Forum|alt.badge.img

Is there any way to check if file metadata is present or not?

If there is no metadata in any file file.getMetadata throws this exception -> The API returned an error code [404 | e01hpdgy0zk02zb8.0f66a34fca06fb564d71b2e55049ef116] instance_not_f
ound - Instance of 'properties' not found for 'file_894890434693'

1 reply

Forum|alt.badge.img

Hi, 

You can use the list instances to see if any metadata is on a file or folder. I'd try this in Postman to see the results you get back. I find it is a great tool for checking out responses and testing. 

Thanks, 

Alex, Box Developer Advocate