Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Error ehile rndering the report. Cannot read property 'accept' of undefined

Hi, We are struggling with the below power BI error (An error occurred while rendering the report.Cannot read property 'accept' of undefined)

There is a custom visual being used in the report. But we are not sure if this is reason. Power BI doesnt allow to save / do any changes in the report now.

We have tried: Removing the custiom visualization , Deleting particular page in the report, clearing cache. It didnt help. Can anyone help?

 

Feedback Type:
Frown (Error)

Error Message:
An error occurred while rendering the report.

Stack Trace:
(at TypeError: Cannot read property 'accept' of undefined
    at Function.QueryExpressionBuilder.createNamed (ms-pbi://pbi.microsoft.com/minerva/scripts/data.js:2584:56)
    at Object.serializeQuery (ms-pbi://pbi.microsoft.com/minerva/scripts/data.js:2309:227)
    at Serializer.serializeVisualContainerConfig (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13481:77)
    at Serializer.serializeVisualContainer (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13408:53)
    at Serializer.serializeVisualContainerTreeToList (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13352:148)
    at Serializer.serializePage (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13343:90)
    at ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13193:38
    at arrayMap (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:21339:23)
    at Function.map (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:30254:14)
    at Serializer.serializeExploration (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13192:68):line:null:)
TypeError: Cannot read property 'accept' of undefined
    at Function.QueryExpressionBuilder.createNamed (ms-pbi://pbi.microsoft.com/minerva/scripts/data.js:2584:56)
    at Object.serializeQuery (ms-pbi://pbi.microsoft.com/minerva/scripts/data.js:2309:227)
    at Serializer.serializeVisualContainerConfig (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13481:77)
    at Serializer.serializeVisualContainer (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13408:53)
    at Serializer.serializeVisualContainerTreeToList (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13352:148)
    at Serializer.serializePage (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13343:90)
    at ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13193:38
    at arrayMap (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:21339:23)
    at Function.map (ms-pbi://pbi.microsoft.com/minerva/scripts/powerbi.common.externals.js:30254:14)
    at Serializer.serializeExploration (ms-pbi://pbi.microsoft.com/minerva/scripts/explore.js:13192:68)

Stack Trace Message:
An error occurred while rendering the report.

Invocation Stack Trace:
   at Microsoft.Mashup.Host.Document.ExceptionExtensions.GetCurrentInvocationStackTrace()
   at Microsoft.Mashup.Client.UI.Shared.StackTraceInfo..ctor(String exceptionStackTrace, String invocationStackTrace, String exceptionMessage)
   at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.GetStackTraceInfo(Exception e)
   at Microsoft.PowerBI.Client.Windows.Telemetry.PowerBIUserFeedbackServices.ReportException(IWindowHandle activeWindow, IUIHost uiHost, FeedbackPackageInfo feedbackPackageInfo, Exception e, Boolean useGDICapture)
   at Microsoft.Mashup.Client.UI.Shared.UnexpectedExceptionHandler.<>c__DisplayClass14_0.<HandleException>b__0()
   at Microsoft.Mashup.Host.Document.SynchronizationContextExtensions.<>c__DisplayClass0_1.<SendAndMarshalExceptions>b__0(Object null)
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
   at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at Microsoft.Mashup.Client.UI.Shared.WebDialogs.WebDialog.<>n__0(IWindowHandle owner)
   at Microsoft.Mashup.Client.UI.Shared.WindowManager.ShowModal[T](T dialog, Func`1 showModalFunction)
   at Microsoft.PowerBI.Client.Program.<>c__DisplayClass2_0.<Main>b__1()
   at Microsoft.PowerBI.Client.Windows.IExceptionHandlerExtensions.<>c__DisplayClass3_0.<HandleExceptionsWithNestedTasks>b__0()
   at Microsoft.Mashup.Host.Document.ExceptionHandlerExtensions.HandleExceptions(IExceptionHandler exceptionHandler, Action action)
   at Microsoft.PowerBI.Client.Program.Main(String[] args)


JS Error Message:
Cannot read property 'accept' of undefined

PowerBINonFatalError:
{"AppName":"PBIDesktop","AppVersion":"2.81.5831.941","ModuleName":"ms-pbi://pbi.microsoft.com/minerva/scripts/data.js","Component":"Function","Error":"TypeError","MethodDef":"QueryExpressionBuilder.createNamed","ErrorOffset":"2584:56"}

Snapshot Trace Logs:
C:\Users\kkammary\AppData\Local\Microsoft\Power BI Desktop SSRS\FrownSnapShot2121172532.zip

Model Default Mode:
Import

Model Version:
PowerBI_V1

Is Report V3 Models Enabled:
False

Performance Trace Logs:
C:\Users\kkammary\AppData\Local\Microsoft\Power BI Desktop SSRS\PerformanceTraces.zip

Enabled Preview Features:
PBI_NewWebTableInference
PBI_hierarchicalSlicerCreation

Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_qnaLiveConnect
PBI_inlineExplore
PBI_realTimeRefresh
PBI_showMinervaRibbon
PBI_showMinervaViewNavigator
PBI_v3ModelsPreview
PBI_relativeTimeSlicer
PBI_dataSearchCuration

Disabled DirectQuery Options:
TreatHanaAsRelationalSource

Cloud:
GlobalCloud

Formulas:

 

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@Anonymous - Is this import or Live or Direct Query?

 

You could check the Issues forum here:

https://community.powerbi.com/t5/Issues/idb-p/Issues

And if it is not there, then you could post it.

If you have Pro account you could try to open a support ticket. If you have a Pro account it is free. Go to https://support.powerbi.com. Scroll down and click "CREATE SUPPORT TICKET".



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Greg_Deckler 

Many thanks for your response.

All the data sources are Files.
I have posted the issue now in https://community.powerbi.com/t5/Issues/idb-p/Issues.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.