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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.