Hi,
I have encounted an issue with the Hubspot API.
Endpoint: https://api.hubapi.com/cms/v3/hubdb/tables/4980460/rows/draft/batch/create
When creating rows that contain column types of ForeignID, or SELECT, we pass the values in as an object e.g.:
"translations": [
{
"id": "71643448559",
"type": "foreignid"
},
{
"id": "71643448561",
"type": "foreignid"
}
],
This works fine. Before today, the response also contained the values in the same format.
Today however, the response is coming back as:
“translations”: “,71643448559,71643448561,71643448563,”,
This is breaking the code that parses into a model, as it’s a string rather than an object.
I can’t find any documented changes in the developer changelog so this feels more like a bug to me.
I can change the response model to work with the string that is coming back, but I don’t want to do that in case it is a bug and it changes back to returning an object.
Could someone from Hubspot please advise?
Thanks