Delete File API is not returning valid JSON


#1

https://developers.hubspot.com/docs/methods/files/hard_delete_file_and_associated_objects states that the response is json but I am not getting back valid JSON.

I POST to https://api.hubapi.com/filemanager/api/v2/files/12304/full-delete and get a response body of “false”

This breaks my response parser which is expecting JSON. I’ll have to work around it but thought you should be aware.


#2

Hi @homerlex,

I can reproduce this on my end; let me touch base with product regarding this. I’ll post any updates here.


#3

@Derek_Gervais any news about the fix?


#4

Hi @Anton_Litvinenko and @homerlex,

This issue has been resolved; the endpoint should now be returning valid JSON.


#5

@Derek_Gervais Thanks!