Skip to main content

Notifications

Community site session details

Community site session details

Session Id : TbcgkwGdf4yUsuNwFSJ48R
Power Apps - Microsoft Dataverse
Unanswered

Adding Dataverse table error: Cannot read properties of undefined (reading 'instanceUrl')

Like (0) ShareShare
ReportReport
Posted on 9 Aug 2023 11:21:07 by 46

Hello,

 

I am having a issue adding new dataverse tables to a canvas app in a solution. When I first add the dataverse table to the canvas app, everything seems to work fine, I can access records, update records and refresh the data source with no issues. However, upon reloading the app, I get this error when I refresh the datasource: Cannot read properties of undefined (reading 'instanceUrl'). I can't access data using controls on the screen. I can access the data if I select the three dots next to the dataverse table and select "edit", but other than that, the datasource isn't accessible. 

 

Adding new tables has the same behavior. 

 

I ran the monitor on the app open I get various errors related to loading the table:

"CDS Datasource tablename is not found in config hash table."

"We could not get runtime url for CDS datasource. This is fatal error. configState is: NotConfigured."

"Error occurred while running job: AsyncLazy:CdsConnector._lazyOdataConnector"

 

Has anyone seen this issue before?

Categories:
  • NathanDG Profile Picture
    14 on 04 Feb 2024 at 15:42:03
    Re: Adding Dataverse table error: Cannot read properties of undefined (reading 'instanceUrl')

    For what it's worth, I found that having non-letter characters in your table name does that error. So make sure not to put any numbers or weird characters in the title of your table.

    I do Pascal Cases for all my table now instead of snake or kebab case. (ActivitiesData instead of activities-data, activities_data).

  • jchenevert Profile Picture
    46 on 01 Nov 2023 at 21:01:11
    Re: Adding Dataverse table error: Cannot read properties of undefined (reading 'instanceUrl')

    Raju,

     

    I would contact Microsoft support about the issue. When I talked to support, they indicated that there was a connection error within the API. By the time I had placed the ticket and support had been in contact with me, the issue had been resolved. I'd recommend contacting support so they can provide whatever fix they completed in my apps.

  • Dynatech_Raju Profile Picture
    4 on 01 Nov 2023 at 05:44:51
    Re: Adding Dataverse table error: Cannot read properties of undefined (reading 'instanceUrl')

    Hello @jchenevert ,

    I am having the same issue can you please provide steps to solve this issue.

    Dynatech_Raju_0-1698817456483.png

     
    Thanks in Advance.
    Raju

  • AhmedSalih Profile Picture
    6,678 Super User 2025 Season 1 on 14 Aug 2023 at 01:50:05
    Re: Adding Dataverse table error: Cannot read properties of undefined (reading 'instanceUrl')

    @jchenevert, I am glad that it has been resolved. Thank you for the update.

  • jchenevert Profile Picture
    46 on 11 Aug 2023 at 13:03:55
    Re: Adding Dataverse table error: Cannot read properties of undefined (reading 'instanceUrl')

    I agree, it is pretty strange. As of yesterday the error seemed to go away after I contacted support. So, I can't reproduce the error. If support gives me any indication on what the problem was, I'll report back so others can fix this issue if it comes up.

  • AhmedSalih Profile Picture
    6,678 Super User 2025 Season 1 on 10 Aug 2023 at 05:39:12
    Re: Adding Dataverse table error: Cannot read properties of undefined (reading 'instanceUrl')

    Hello, @jchenevert , this is a strange error. Try to publish all customization in you solution and try again.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

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 - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 15

#2
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 9 Super User 2025 Season 1

Overall leaderboard

Featured topics