Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Custom Connector Error for Power BI API

(0) ShareShare
ReportReport
Posted on by 54

Hi everyone,

 

I'm trying to create my first Custom Connector to use for calling a custom PowerBI API for refreshing a dataset. I followed this procedure step by step and got to the part where I'm getting an error "Operation failed (404)"

I did exactly as the procedure says to resolve the issue (exit, wait a few minutes, try again) but I'm still getting error.

tempsnip.png

Edit: could the issue be because the Selected connection * is my Admins credentials and not my own?

tempsnip1.png

 

  • Justair07 Profile Picture
    Justair07 54 on at
    Re: Custom Connector Error for Power BI API

    @v-yamao-msft  I'v tried about 5 datasets without success. Does it matter if the dataset is on premise or if it has to be on my local machine?

  • Justair07 Profile Picture
    Justair07 54 on at
    Re: Custom Connector Error for Power BI API

    @v-yamao-msft  I'v tried about 5 datasets without success. Does it matter if the dataset is on premise or if it has to be on my local machine?

  • Justair07 Profile Picture
    Justair07 54 on at
    Re: Custom Connector Error for Power BI API

    @v-yamao-msft 

    When I test my custom connector it is successful and the dataset refreshes without issue. But when I try to run the connector in a flow, it fails with this error. I've tried with and without curly brackets.

    {
     "error": {
     "code": "ItemNotFound",
     "message": "Dataset {1a494582-2fe3-4331-******} is not found."
     }
    }

    FlowTestSuccess.JPGFlowError.JPG

  • v-yamao-msft Profile Picture
    v-yamao-msft on at
    Re: Custom Connector Error for Power BI API

    Hi @Justair07 ,

     

    Could you try with a different dataset to see if it will work?

    Please check the Id you are using to make sure the item does exist.

    By the way, please make sure you add in curly brackets a variable name when configuring the URL field.

     

    Best regards,

    Mabel

     

  • Justair07 Profile Picture
    Justair07 54 on at
    Re: Custom Connector Error for Power BI API

    It turns out that was my issue. I needed to swith the Selected connection back to my login. This returned a successful Test operation. The problem is when I run my custom connector from a custom recurring Flow, I get a Failed error stating that the dataset was not found 😞

     

    Any ideas why?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,304

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard

Featured topics