[SOLVED] Api/method/frappe.client.get_list DoesNotExistError ... only for some doctypes

I created an item-price, changed the doctype Permissions of item-price for all to read (tests):

In vue (frappe-ui):

const ping = createListResource({
  doctype: 'item-price',
  auto: true,
})

I get an error:
Browser: POST http://eco.localhost:8080/api/method/frappe.client.get_list
Server:
15:17:02 web.1 | 127.0.0.1 - - [16/Jan/2025 15:17:02] “POST /api/method/frappe.client.get_list HTTP/1.1” 404

but, if I change the doctype to ToDo (same permissions)

const ping = createListResource({
  doctype: 'ToDo',
  auto: true,
})

it works fine (200):
image

So I don’t understand the “DoesNotExistError”.

I tried to customize item-price too with perm level 2 for item-name and item-rate, no luck.

Doctype is Item Price not item-price hence the 404 error

Good catch!
I wrongly copy pasted from the url