Possible documentation error in HubDB CMS API with example PHP request?

Hello. I think there might be an error with the documentation?

Example: Get rows for a table (php request)

$apiResponse = $client->cms()->hubdb()->tables()->rowsApi()->getTableRows(‘tableIdOrName’, null, null, null, null);

This does not work. Error logs show “tables” is unknown. Removing “tables” fixes the problem. It appears all the example php requests for hubdb have this issue.

Example request that works:

$apiResponse = $client->cms()->hubdb()->rowsApi()->getTableRows(‘tableIdOrName’, null, null, null, null);

I’m running hubspot/api-client 8.4.1 on php 8.1

I hope this helps someone.

Hi, @Colorado42 :waving_hand: Thanks for pointing this out. I’ll flag this for review.

Have a wonderful day! — Jaycee