Error while calling Rest API in ERPNext installed Site

I have created 1 site with Erpnext in frappe cloud and I am trying to get the list of all Supplier using the API Access Key and Secret. I am getting the following error.

Error Solved, the doctype Name was incorrect “Supplier” not “supplier”