API error getApiPageName() on null

Any API calls getting this error.For instance using swagger to get a list:“statusCode”: 200,
“error”: {
“class”: “text-danger”,
“type”: “Fejl”,
“description”: "D:\wamp64\www\sr\databaser\sejladsrapport_dss23\controllers\ApiController.php(364): Call to a member function getApiPageName() on null"What could be wrong here?tia

The error means the table you want to access does not exist, make sure you have entered correct table name. Also read Database, Table and Field Variable Names.

Thanks.