File Upload API Doc Incorrect about Hidden Attribute


#1

The https://developers.hubspot.com/docs/methods/files/post_files is wrong in describing the usage of the hidden attribute. It claims the attribute should be set in the body. Through trial and error I found it needed to be set in the the query string (like the overwrite option).


#2

Hi @homerlex,

You’re correct, the hidden field must be included as a query parameter, not in the file body. I’ll work on updating the docs now, nice catch.