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?
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).
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.
Hello @jchenevert ,
I am having the same issue can you please provide steps to solve this issue.
Thanks in Advance.
Raju
@jchenevert, I am glad that it has been resolved. Thank you for the update.
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.
Hello, @jchenevert , this is a strange error. Try to publish all customization in you solution and try again.
stampcoin
15
ankit_singhal
11
Super User 2025 Season 1
mmbr1606
9
Super User 2025 Season 1