APIs & Integrations

tgurler
参加者

Cannot store data on a table created at Hubspot DB (API)

解決

Hi,

 

I cannot store any data to my newly created table on Hubspot DB. Is there something wrong?

 

Table:

Screen Shot 2021-01-26 at 19.05.17.png

Create Call (there is no error at response)

Screen Shot 2021-01-26 at 19.01.06.png

GET call (to read data from table)

Screen Shot 2021-01-26 at 19.00.09.png

0 いいね!
1件の承認済みベストアンサー
himanshurauthan
解決策
ソートリーダー | Elite Partner
ソートリーダー | Elite Partner

Cannot store data on a table created at Hubspot DB (API)

解決

So @tgurler new rows will be added to the draft table.

 

Use the /publish endpoint to push all changes live, and to fetch the draft entries you have to use - https://api.hubapi.com/hubdb/api/v2/tables/3411656/rows/draft?hapikey=demo

 

Hope this helps!
Himanshu

Digital Marketing & Inbound Expert In Growth Hacking Technology

元の投稿で解決策を見る

3件の返信
tgurler
参加者

Cannot store data on a table created at Hubspot DB (API)

解決

Thanks @himanshurauthan ; /publish definitely fixed this issue.

himanshurauthan
ソートリーダー | Elite Partner
ソートリーダー | Elite Partner

Cannot store data on a table created at Hubspot DB (API)

解決

That's great. I'm glad I was able to give you the correct solution. 😁

Digital Marketing & Inbound Expert In Growth Hacking Technology
himanshurauthan
解決策
ソートリーダー | Elite Partner
ソートリーダー | Elite Partner

Cannot store data on a table created at Hubspot DB (API)

解決

So @tgurler new rows will be added to the draft table.

 

Use the /publish endpoint to push all changes live, and to fetch the draft entries you have to use - https://api.hubapi.com/hubdb/api/v2/tables/3411656/rows/draft?hapikey=demo

 

Hope this helps!
Himanshu

Digital Marketing & Inbound Expert In Growth Hacking Technology