However, for files marked as sensitive, it comes back with a 404 error. This leads me to believe that it’s not possible for a sensitive file to be retrieved from the API. Is this true? If not, please can you assist?
The right scopes are selected for the private app.
I’m getting the same error, did you find a workaround?
There is no documentation about retrieving files uploaded via forms and stored on a sensitive property . Please someone help!
Hi Rick, we found a genius workaround. We surrounded the functionality concerned with the retrieval of sensitive documents with a try and catch block. Ultimately, when the retrieval fails, the catch block gets triggered. Within this catch block, we added functionality that will generate a text file which includes the HubSpot document link. Our client is then able to open this document and click on the link which would take them back to Hubspot with the document open and previewed.