Aug 17, 20224:31 AM - edited Aug 17, 202210:55 AM
Member
Getting error status 400 - This media type text/html is not supported import Api
Hello,
Im using the Import API for creating a contact record in hubspot.
I've created a custom property which I expect to populate it with an Html code (in String). I configured the type of this property to "Signle line text" and "Multi-line-text", but none of them worked for me. I'm recieiving the following response:
status 400, bad request, 'This media type text/html is not supported' .
Getting error status 400 - This media type text/html is not supported import Api
Hi,
The html code was inserted after changing the property type to "rich text" but I needed to do escaping to the html before importing it, without it, it would still throw the same error as above. Is there a way to import it without escaping the html?