APIs & Integrations

Not applicable

COS Files API - List the metadata for all files - 504 Timeout

Whenever I try to fetch metadata for files using the “https://api.hubapi.com/filemanager/api/v2/files” I get a 504 timeout. I’ve tried using a limit of 1 to limit the number of files, but I still get a 504 timeout.

0 Upvotes
2 Replies 2
seb_fairchild
Member

COS Files API - List the metadata for all files - 504 Timeout

Hey @James_Bathgate,

I’m not able to reproduce the issue, can you post you’re entire request minus your HAPI key? The limit shouldn’t matter as it defaults to 20, so regardless of the number of files in your portal you won’t receive all of them in a single request.

Sebastian

0 Upvotes
Not applicable

COS Files API - List the metadata for all files - 504 Timeout

Sebastian,

Thanks, I ran a curl request manually and it works. It appears to be a bug in this library: https://github.com/ryanwinchester/hubspot-php

0 Upvotes