APIs & Integrations

Anonymous
Not applicable

publish or push-live table not working

SOLVE

What is the correct endpoint to use to publish a change after a row has been added to a hubDB table?

https://api.hubapi.com/cms/v3/hubdb/tables/TABLEID/publish/

or

https://api.hubapi.com/cms/v3/hubdb/tables/TABLEID/push-live/

 

Neither work ...

 

0 Upvotes
1 Accepted solution
Philip_Marsh
Solution
Contributor

publish or push-live table not working

SOLVE

In the 2 URL examples you have provided, you still have the Table ID set to TABLEID. Try replacing it with the numeric value of your table.

Edit: This can be found on the HubDB dashboard, under the ID column. 

View solution in original post

0 Upvotes
5 Replies 5
skylightipv
Contributor

publish or push-live table not working

SOLVE

Doesn't work for me either:

 

https://api.hubapi.com/cms/v3/hubdb/tables/1234567/push-live

 

This is the response I get

 

<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Resource not found</p>
</body>
</html>

 

0 Upvotes
Philip_Marsh
Contributor

publish or push-live table not working

SOLVE

By themselves, the API links are not pages and will throw a 404 error if you try and access it. The link is used by your app/module/page to pull in information from Hubspots tables.

 

For more information on API's, look here: 

HubSpot APIs | Getting started

0 Upvotes
skylightipv
Contributor

publish or push-live table not working

SOLVE

I've figured it out.  My end point was missing /draft

0 Upvotes
Philip_Marsh
Solution
Contributor

publish or push-live table not working

SOLVE

In the 2 URL examples you have provided, you still have the Table ID set to TABLEID. Try replacing it with the numeric value of your table.

Edit: This can be found on the HubDB dashboard, under the ID column. 

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

publish or push-live table not working

SOLVE

Hi, @Anonymous 👋 Thanks for reaching out. Hey, @RMones @SJaeger @Philip_Marsh, do you have any experience with what is being described? Or suggestions on additional information @Anonymous can share to help give more context?

 

Thank you! — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes