API Error - No entry or class found for '<Table>List'

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mikealexander
User
Posts: 2

API Error - No entry or class found for '<Table>List'

Post by mikealexander »

Whenever I try to test the list API /api/list/{table} I get the below error, although I'm authorized and logged in:

{
  "statusCode": 200,
  "error": {
    "class": "text-danger",
    "type": "Error",
    "description": "C:\\laragon\\www\\test\\vendor\\php-di\\php-di\\src\\Container.php(133): No entry or class found for 'TblCategoriesList'"
  }
}

Table name is correct and accessible from the browser as a page

This is happening with all other API actions as well

Any idea what's wrong here?


arbei
User
Posts: 9389

Post by arbei »

It is not related to permissions, the class is not found by PHP.


mikealexander
User
Posts: 2

Post by mikealexander »

Issue Resolved, it seems it was my mistake as I was entering the class name in the table field instead of the db table.


Post Reply