cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stefanik
Helper I
Helper I

Asking for gateways results in DMTS_MonikerNotFoundError

Hi,

i'm trying to use PowerBI API in order to obtain gateways in my Dataset: 

 

https://api.powerbi.com/v1.0/myorg/groups/[groupID]/datasets/[datasetID]/Default.GetBoundGatewayData...

 

I receive this:

{
    "error": {
        "code""DMTS_MonikerNotFoundError",
        "pbi.error": {
            "code""DMTS_MonikerNotFoundError",
            "details": [
                {
                    "code""DMTS_MonikerNotFoundError",
                    "detail": {
                        "type"1,
                        "value""ef885c9c-b03b-434b-942d-df39c05663cc, 76da5098-6618-4aac-9ae0-5201832561fe"
                    }
                }
            ],
            "exceptionCulprit"1
        }
    }
}
 
I'm already able to perform this with others dataset but not with this. The only difference is this has two source in it: one for AzureDWH and one for AzureSQLServer.
I'm also able to retreive parameters with /parameters, so i suppose the token is correctly configured!
 
What i've missed?
 
Thanks
 
 
 
1 ACCEPTED SOLUTION
stefanik
Helper I
Helper I

I don't know what DMTS_MonikerNotFoundError means but it seems related to the dataset publisher owner. The dataset was already published with a specific owner and the API doesn't work,but if i publish it with the service principal i use for gateways retrieve, it works!

 

View solution in original post

2 REPLIES 2
stefanik
Helper I
Helper I

I don't know what DMTS_MonikerNotFoundError means but it seems related to the dataset publisher owner. The dataset was already published with a specific owner and the API doesn't work,but if i publish it with the service principal i use for gateways retrieve, it works!

 

Hi @stefanik ,

 

As far as I know, the error message "DMTS_MonikerNotFoundError" indicates that the gateway name you provided in the API request is not valid. Also I couldn't find any parameter about gateway like ID or Name in your link.

 

Please make sure that the gateway name is correct and that the gateway is registered with the Power BI service.

 

You can check the list of registered gateways in the Power BI admin portal.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Top Solution Authors