Thanks Michael_Shao,
I think Power BI used to ask me if I wanted to replace the dataset before loading. But I don’t get this prompt anymore Error 500 comes up.
The Fiddler Trace shows the following.
And the Power BI Trace shows the following.
{«dt»:»e»,»ct»:1472623943,»u»:»ee15a6e3-f2f0-4151-8ab1-cdf70c42d9ff»,»su»:»a76a725a-d92a-41c2-ab66-e539c239a37f»,»n»:»PBI.Win.UploadReportToPowerBIService»,»attrs»:{«backendUrl»:»https://api.powerbi.com/»,»activityId»:»79bc70ab-beb9-4593-a5cf-eea4964dd4a2″,»requestId»:»7c0485f6-… — 100ms»,»client»:»WinDesktop»,»build»:»2.38.4491.282 (PBIDesktop)»,»uiCulture»:»en-US»,»clientCulture»:»en-AU»,»isInternal»:»False»}}
{«dt»:»e»,»ct»:1472623947,»u»:»1e1ed5c0-f74f-4578-b7f1-78da446620ee»,»su»:»a76a725a-d92a-41c2-ab66-e539c239a37f»,»n»:»PBI.PQ.PublishingFailedInternal»,»attrs»:{«backendUrl»:»https://api.powerbi.com/»,»activityId»:»79bc70ab-beb9-4593-a5cf-eea4964dd4a2″,»requestId»:»7c0485f6-… (PBIDesktop)»,»uiCulture»:»en-US»,»clientCulture»:»en-AU»,»isInternal»:»False»}}
Sorry that I can’t load this in OneDrive. Our organisation actually doesn’t have OneDrive set up.
It sounds like Power BI isn’t asking me whether I want to replace the dataset with the existing, anymore. Is there a way that I can re-enable this in Power BI?
I will also reinstall/repair Power BI to see if that helps.
Update: I repaired Power BI. No difference in outcome. Power BI doesn’t ask if I want to replace the dataset, instead jumping straight to Error 500.
When posting to the Power BI api uri: https://api.powerbi.com/v1.0/myorg/groups in PowerShell version 5.1.17134.228, I got the error:
The remote server returned an error: (500) Internal Server Error.
I invoked the Power BI rest api with the PowerShell script you can find below.
The error was fixed, when I added -ContentType ‘application/json’ parameter to the InvokeRestMethod
PowerShell script
$clientId = “my-client-id”
$PowerBIUserName = “MyUserName”
$PowerBIUserPassword = “MyUserPassword”
$creds = New-Object “Microsoft.IdentityModel.Clients.ActiveDirectory.UserCredential” -ArgumentList $PowerBIUserName,$PowerBIUserPassword
$resourceAppIdURI = “https://analysis.windows.net/powerbi/api”
$authority = “https://login.microsoftonline.com/common/oauth2/authorize”;
$authContext = New-Object “Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext” -ArgumentList $authority
# Acquire token
$authResult = $authContext.AcquireToken($resourceAppIdURI, $clientId, $creds)
# Create a new group
$auth_header = @{
‘Authorization’=$token.CreateAuthorizationHeader()
}
$uri = “https://api.powerbi.com/v1.0/myorg/groups”
$body = “{`”name`”:`”myNewGroup`”}”
$response = Invoke-RestMethod -Uri $uri -Headers $auth_header -Method POST -Body $body -ContentType ‘application/json’
$target_group_id = $response.id
Good afternoon,
My dataflow suddenly stopped working after 2 weeks of flowless updates.
This is the error message I get every time I want to change something in it:
• ID activity: 45e84c64-98c5-4518-9792-cc1a133768c0
• ID request: b8963094-60e7-536f-64a2-27a4e89a46c5
• ID correletion: 77cf355a-9ec0-fbe0-cc7d-4d4a27a330bf
• Code:500
• Time Jan 15 2020 18:18:30 GMT+0100 (Central European Standard Time)
• Version:13.0.11747.315
•
• URI clusteru https://wabi-north-europe-redirect.analysis.windows.net/
- powerbi
Dreekun
4222 silver badges12 bronze badges
asked Jan 15, 2020 at 18:06
3
-
How is the data connected to your report? Is it imported from a SQL server?
Jan 15, 2020 at 21:11
-
Yes, SQL is source for dataflow.
Jan 16, 2020 at 7:36
Load 7 more related questions
Show fewer related questions
2
We have an issue with a an embedded PowerBi that was working fine untill this morning. The problem is that the information is not loading and when we are watching the requests made by the page we see a 500 internal server error from the https://wabi-west-europe-redirect.analysis.windows.net/metadata/cluster
Print screen with the requests:
PowerBi requests
We have updated the power bi client library to the latest version (powerbi-client v2.2.6), but the problem persists.
- azure
- powerbi-embedded
Improve this question
asked Jan 31, 2017 at 9:39
Cosmin MerisescuCosmin Merisescu
214 bronze badges
1
-
We managed to solve the issue. It was a problem with the authentication token. It seems that 2 parameters that mentioned to be optional in the documentation (exp and nbf) are now mandatory when creating the access token. Without these, you will get 500 internal server error when making a request to the server. Link to authentication documentation: learn.microsoft.com/en-us/azure/power-bi-embedded/…
– Cosmin Merisescu
Feb 2, 2017 at 8:41
Add a comment
|
Related questions
1
Power Bi Embedded Deployment
1
Power BI embedded Issue
1
Power BI Desktop cannot connect to azure SQL
Related questions
1
Power Bi Embedded Deployment
1
Power BI embedded Issue
1
Power BI Desktop cannot connect to azure SQL
2
Cannot create Power BI Embedded resource in Azure portal
2
How to Create a Power BI Embedded Resource
3
Getting 401 Unauthorized while accessing Power BI API
0
problem when using PowerBI Embed, in Incoporação what can be
0
powerbi embed: invalid grant: consent_required
1
Getting powerbi embed token 403 Forbidden
0
PowerBI — getting EmbedToken — Unauthorized
Load 7 more related questions
Show fewer related questions
Sorted by:
Reset to default
Your Answer
Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more
Sign up or log in
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Name
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.
Browse other questions tagged
- azure
- powerbi-embedded
or ask your own question.
Browse other questions tagged
- azure
- powerbi-embedded
or ask your own question.
- Remove From My Forums
-
Вопрос
-
Hi Experts,
I have a share point site with list and libraries.All list and libraries working fine in Power BI for reporting except one library.when i connect this library with Power BI then the below error occurred.
DataSource.Error: OData: Request failed: The remote server returned an error: (500) Internal Server Error. (An error occurred while processing this request.)
Details:
DataSourceKind=OData
DataSourcePath=http://xxx.xyz.edu.pk/_vti_bin/listdata.svc/ProjectDocuments
SPRequestGuid=846c939f-118f-j9fd-cea5-0312cfd86f8
Url=http://xxx.xyz.edu.pk/_vti_bin/listdata.svc/ProjectDocuments
Ответы
-
Hi Najeeb. Please send a frown and attach the full Fiddler trace. We’d need to see more of the context (e.g. what we sent to the server which led to this response).
Thanks,
Ehren
-
Помечено в качестве ответа
27 июля 2016 г. 21:38
-
Помечено в качестве ответа