APIs & Integrations

yeesshh_develop
Member

Problem with hs_context - property cannot be missing or null

we are trying to do tracking on hub-spot. we are trying to pass hs_context in out hubspot call but when we do this we got errors. some example are below:

RESPONSE:
{"status":"error","message":"property cannot be missing or null","correlationId":"06525662-cac4-44e5-b211-ad788b8b78c7"}

REQUEST DATA:
{"properties":[{"property":"email","value":"example@gmail.com"},{"property":"firstname","value":"TestHub"},{"property":"lastname","value":"Spot"},{"property":"contact_type","value":"Advertiser"},{"property":"client_platfrom_id","value":"ADK - myDSP11811 - ERK"},{"property":"credit_rate","value":"Approved"},{"property":"lifecyclestage","value":"salesqualifiedlead"},{"property":"product_bought","value":"MyDSP (ADN)"},{"hs_context":{"hutk":"ed1e3f6a5bf7ba9c9e994e01959f27a6"}}]}

Thanks,

0 Upvotes
2 Replies 2
yeesshh_develop
Member

Problem with hs_context - property cannot be missing or null

We are using the OFFLINE CONTACTS API and from what we read today, here on the community, we need to use the FORMS API.  We will give it a try and see if this solves our issue.

dennisedson
HubSpot Product Team
HubSpot Product Team

Problem with hs_context - property cannot be missing or null

Hi @yeesshh_develop ,

What is the API endpoint that you are trying to use?

0 Upvotes