Forum Discussion
Getting Error - "Uncaught host error (in promise): Invalid JSON primitive:"
Hi,
I am getting Error while opening the PowerBI. It was working fine till few days back. But today onwards I am getting below error
An error occurred while rendering the report.
Uncaught host error (in promise): Invalid JSON primitive: .
Below are details
"
Feedback Type:
Frown (Error)
Timestamp:
2020-01-31T10:48:06.2429979Z
Local Time:
2020-01-31T16:18:06.2429979+05:30
Session ID:
3dcc2301-d40f-4ac8-bdfb-242692ecae13
Release:
December 2019
Product Version:
2.76.5678.782 (19.12) (x64)
Stack Trace:
System.ArgumentException
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject()
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth)
at System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer)
at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit)
at System.Web.Script.Serialization.JavaScriptSerializer.Deserialize[T](String input)
at Microsoft.Mashup.Host.Document.JsonSerializer.<>c__DisplayClass3_0`1.<Deserialize>b__0()
at Microsoft.Mashup.Host.Document.JsonSerializer.HandleDeserializationExceptions[T](Func`1 action, String json, Boolean includeValueInException)
at Microsoft.PowerBI.Client.Windows.PowerBIService.ServiceProxyResponse.GetData[T]()
at Microsoft.PowerBI.Client.Windows.PowerBIService.CloudConfigurationManager.<>c__DisplayClass18_0.<SetCloud>b__0()
at Microsoft.PowerBI.Client.Windows.PowerBIService.RetryableWebRequest.Execute()
at Microsoft.PowerBI.Client.Windows.PowerBIService.CloudConfigurationManager.SetCloud(String emailAddress, Func`2 chooseCloud)
at Microsoft.PowerBI.Client.Windows.PowerBIService.AuthenticationManager.TryGetUserIdentityInfo(UserIdentityInfo& userIdentityInfo)
at Microsoft.PowerBI.Client.Windows.PowerBIService.AuthenticationManager.EnsureSignInStatusInitialized()
at Microsoft.PowerBI.Client.Windows.PowerBIService.AuthenticationManager.get_IsSignedIn()
at Microsoft.PowerBI.Client.Windows.FavoritesHttpHostService.<<GetFavoriteResourcePackages>b__11_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.Client.Windows.HostServiceDispatcher.<>c__DisplayClass8_0`1.<<ExecuteAndHandlePromise>b__0>d.MoveNext()
--- JS promise created in stack: ---
at PromiseStoreService.create (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:84961:41)
at FavoritesHttpService.<anonymous> (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:43445:66)
at ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:11662:35
at Object.next (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:11673:18)
at ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:11595:75
at new ZoneAwarePromise (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:87223:41)
at Module.__awaiter (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:11575:16)
at FavoritesHttpService._getFavoriteResourcePackages (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:43441:30)
at FavoritesHttpService.getFavoriteResourcePackages (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:43431:45)
at FavoriteVisualLoader.ensureFavoriteVisualResources (ms-pbi://pbi.microsoft.com/minerva/scripts/desktop.js:61888:46)
OS Version:
Microsoft Windows NT 10.0.17134.0 (x64 en-US)
CLR Version:
4.7 or later [Release Number = 461808]
Peak Virtual Memory:
38.6 GB
Private Memory:
491 MB
Peak Working Set:
689 MB
IE Version:
11.1246.17134.0
User ID:
c1c732d9-892a-4c3f-bb69-1007907a508d
Workbook Package Info:
1* - en-IN, Query Groups: 0, fastCombine: Disabled, runBackgroundAnalysis: True.
Telemetry Enabled:
True
Snapshot Trace Logs:
C:\Users\adash\Microsoft\Power BI Desktop Store App\FrownSnapShot1087314680.zip
Model Default Mode:
Import
Disabled Preview Features:
PBI_shapeMapVisualEnabled
PBI_SpanishLinguisticsEnabled
PBI_NewWebTableInference
PBI_showIncrementalRefreshPolicy
PBI_qnaLiveConnect
PQ_AIInsightsFunctionBrowser
PBI_realTimeRefresh
PBI_QueryDiagnostics
PBI_showMinervaRibbon
PBI_showMinervaViewNavigator
PBI_decompositionTree
PBI_themeDialog
Disabled DirectQuery Options:
TreatHanaAsRelationalSource
Cloud:
GlobalCloud
DPI Scale:
150%
Supported Services:
Power BI
"
Please suggest hot to fix it
Thanks
Anup
1 Reply
- v-eachen-msftCommunity Support
Hi anup_microlise ,
What's your datasource? This seems to be a json error, you can check if you can access the data source normally.