Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

[BUG] context.webAPI.retrieveMultipleRecords is not a function

(0) ShareShare
ReportReport
Posted on by 3,496 Most Valuable Professional

Hi All,

I have encountered this error today. My control stopped working because it says that "context.webAPI.retrieveMultipleRecords is not a function".  To verify that issue is not because of the errors in my code I called context.webAPI.retrieveMultipleRecords in the init method and I use the code from this example. Previously everything worked fine. Does anyone else experience this issue as well?

  • GLMSDev Profile Picture
    75 on at
    Re: [BUG] context.webAPI.retrieveMultipleRecords is not a function

    Thanks. You saved me lot of time 🙂

  • Verified answer
    OOlashyn Profile Picture
    3,496 Most Valuable Professional on at
    Re: [BUG] context.webAPI.retrieveMultipleRecords is not a function

    Hi All,

    I found a way to make it work again: in ControlManifest.Input.xml file added 

     <feature-usage>
     <uses-feature name="WebAPI" required="true" />
     </feature-usage>

    and everything works. However, without this line of code, it still doesn't work.

  • DannyJia Profile Picture
    8 on at
    Re: [BUG] context.webAPI.retrieveMultipleRecords is not a function
    I have the same issue. My control suddenly stopped working, although I haven't changed anything. I have debugged it and found all the methods in WebAPI object are showing null values. Obviously it is a Microsoft bug. It is a very serious bug and there is nothing we can do until Microsoft fixes it.
  • Sheldon Copper Profile Picture
    200 on at
    Re: [BUG] context.webAPI.retrieveMultipleRecords is not a function

    It is an internal bug which has been reported I am also facing same issue.

    https://powerusers.microsoft.com/t5/PowerApps-component-framework/PCF-Control-Question/td-p/319656/page/2

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 87 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 65 Super User 2025 Season 1

Overall leaderboard