web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Pages API Issue:...
Power Apps
Answered

Power Pages API Issue: code: "9004010A", message: "An unexpected error occurred while processing the request"

(0) ShareShare
ReportReport
Posted on by 16

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

Murphy4ever_0-1718689021542.png

I had checked the site settings for API:

Murphy4ever_1-1718689124354.png

Murphy4ever_2-1718689162296.png

Also, I also check the table permission.

Murphy4ever_3-1718689317627.png

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.

Categories:
I have the same question (0)
  • Murphy4ever Profile Picture
    16 on at

    To test, I also created different enviroments, but the API Test under all kinds of enviroment are failed. Is these some setting problem?

  • Verified answer
    Murphy4ever Profile Picture
    16 on at

    Guys, I know what's happened. When write the AJAX code, it need the entity name of the table, not the logicl name!!!!!!!!!!! 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard