Hi everyone,
I met a very strange issue which confused me. I had tried to solve it whole day, but it doesn't work.
Few days ago, I set up a web API for one table (Let's call this table as TableA) in Dataverse, everything work well.
Today, for the same web site in Power Pages, I try to set up another web API for a new table in Dataverse, the issue happened.
It is a 400 (bad request), and the error message is as follows

I had checked the site settings for API:


Also, I also check the table permission.

The Wrapper AJAX function still works for the previous table which I set up.
The code I used to test is also simple:
webapi.safeAjax({
type: "GET",
url: "/_api/crb9a_testapi",
contentType: "application/json",
success: function (res) {
}
});
No matter I create a new table or use the default table, the web Api has the same issue. But the Api for TableA works well. I create this site under a developer environment.
Has anyone meet the same issue? Please help me.