Forum Discussion
DMTS_MonikerNotFoundError
- 8 years ago
In case this helps anyone else. I now have a better understanding of the issue above.
The root of the issue seems to have been that for the Dataset that was being passed in to the API request, the owner was the publisher of the report (which it support) and it wasn't the master account.
Once the master account took over ownership (you can do this from the Power BI portal > Select your Workspace > Datasets > On the Dataset of interest, go to Settings > Take over), the embed token was issued correctly.
The effective user name that is being passed in does not seem to have any role to play until, the embed token is used to render the report.
Note: I still don't know what DMTS means, but the issue is now resolved.
Hi,
Ive been working with Azure Logic apps for a while now and never had issues, but now I seem to get the following error when exporting a Power BI Report to PDF :
{
"statusCode": 404,
"headers": {
"Pragma": "no-cache",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"X-Frame-Options": "deny",
"X-Content-Type-Options": "nosniff",
"RequestId": "ab265116-422c-4108-b79a-8f444d74290f",
"Access-Control-Expose-Headers": "RequestId",
"Timing-Allow-Origin": "*",
"x-ms-apihub-cached-response": "true",
"x-ms-apihub-obo": "false",
"Cache-Control": "no-store, must-revalidate, no-cache",
"Date": "Wed, 09 Nov 2022 23:08:48 GMT",
"Content-Length": "386",
"Content-Type": "application/json"
},
"body": {
"error": {
"code": "DMTS_MonikerNotFoundError",
"pbi.error": {
"code": "DMTS_MonikerNotFoundError",
"details": [
{
"code": "DMTS_MonikerNotFoundError",
"detail": {
"type": 1,
"value": "cb5e2933-4cf9-43a4-a69d-8d2ac3da2bcc"
}
}
],
"exceptionCulprit": 1
}
}
}
}
Exporting Paginated reports to PDF or running DAX Queries on the linked dataset does not give any issues.
Cannot seem to find any other info on this error except this post.
I dont think known issue in this post is related to my issue.
Any idea what else this could be ?
Robbe
- AmosHersch3 years ago
Microsoft Employee
Hi Robbe ,
I can't tell for sure why you get this error, but it seems related to the data sources settings.
I would try to see if everything seems to be set correctly in the dataset settings page in Power BI portal.
Maybe try to refresh the data in the dataset and see that it works as expected.
- Robbe3 years agoRegular Visitor
Hi,
Thank you for the fast reply. This error seems to be there for over 5 years and we still have no idea what it is? 😕
My dataset contains all import datasources, so I dont see why this should impact an export to PDF?
Like I mentionned, connecting with paginated reports or running a daxquery on hte exact same dataset is not an issue...Robbe
- Robbe3 years agoRegular Visitor
Hi,
For future reference to other people.
I was doing an API Call in my dataset, not using "RelativePath". The below article helped me:
Setting a scheduled refresh on a Dynamic Data Source in Power BI | by dataninja | DataDrivenInvestor
It seems like your dataset needs to be "Refreshable" but not nessesarily authenticated to be refreshed.
Seems like this could be optimized, as I dont really see a difference.Robbe