So, this seems like either a bug, or misleading documentation. Did you foget to include the S3 token into the URL, or how can I actually access the file?
Hey @johannes-m , what you are currently seeing is expected as of now. File attachments on records or files attached to engagements have a field hidden set to true. This prevents them from appearing in the file manager UI and from being visible by their public URL. The only way to views hidden files is through the UI of the object they’re attached to.
The problem is if you upload files from outside the hubspot file manager (from your local machine for example), the hidden field is set to true in the api response, as mentioned above, which results in a 404 when you hit the url and doesn't line up with the way the api documentation reads. To make this work, you first have to upload files via the hubspot file manager, then attach those to deals, notes, etc.
I work for a HubSpot Diamond Partner. We have developed an app for the marketplace that helps identify objects with attached files and provides a live count of the associated attachments, continuously updated in real-time.
We are seeking beta testers who can try our app at no cost, provide valuable feedback, and assist us in enhancing the product's overall usability.
Also wondering if there is any update on this issue?
The workflow requiring users to first upload through the file manager and then attach to the object is cumbersome. It would be great if we could access the "hidden" attachments via the files API.
I was wondering, since this has been dormant for over a year, if there is a solution yet for this issue?
I have many issues with the method of implementation of the hubspot api (official v2 hubspot/api-client using composer), but in the end, the ability to somehow download the attachment will be a deal-breaker for the project.
The problem is if you upload files from outside the hubspot file manager (from your local machine for example), the hidden field is set to true in the api response, as mentioned above, which results in a 404 when you hit the url and doesn't line up with the way the api documentation reads. To make this work, you first have to upload files via the hubspot file manager, then attach those to deals, notes, etc.
@SwivelDev, the problem now is that HubSpot recently had a product update where you can't upload a file to the file manager straight inside the deal/ticket.
This is not good at all in our case, because now our agents have to go out the deal/ticket, upload the file to the file maganer, and then go back to the deal/ticket to select it. It added an unnecessary and time consuming step to the process. 😞
so if i understand correctly; hubspot restrict authorized API access to Attachments files (considering i've never used the file manager, i just upload from email or contact UI)
Is there a plan for allowing us the access to our own data ? thanks
Hey @johannes-m , what you are currently seeing is expected as of now. File attachments on records or files attached to engagements have a field hidden set to true. This prevents them from appearing in the file manager UI and from being visible by their public URL. The only way to views hidden files is through the UI of the object they’re attached to.