Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Get-PowerBIDataset returns error ...TaskCanceledException Status Code: 429

hello all

with Get-PowerBIDataset, using the PowerShell ISE command window with a valid Workspace ID, why is it erroring, there is nothing to it ?

Debug enabled for you to see

 

 

thanks in advanced

g

  • Anonymous's avatar
    Anonymous
    5 years ago

    Hi Anonymous,

    I test with my workspace with similar parameters and their work well.

    What type of workspace are you test? Did this issue only appear with the specified device/account/workspace that you test? Have you confirmed the account has enough permission to do work with the REST API?

    Register an Azure AD application to use with Power BI 

    BTW, the 429 error is a common error that means 'Too Many Requests' sent so that the remote server has blocked these requests. How many requests are you test with these rest API?

    Please also take a look at the following link to confirm if your operations have met the limitations.

    Power BI REST API limitations - Power BI | Microsoft Docs
    Regards,

    Xiaoxin Sheng

4 Replies

  • DavisBI's avatar
    DavisBI
    Solution Specialist

    Anonymous  Have you try to use Postman to send the requests?

    here is a tutorial for your reference.

    • Anonymous's avatar
      Anonymous
      Not applicable

      ooooo, that looks a lot more compliated. what would be the benefit ? 

      server side processing ? no throughput bottlenecks ?

       

      ta

       

       

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi Anonymous,

    I test with my workspace with similar parameters and their work well.

    What type of workspace are you test? Did this issue only appear with the specified device/account/workspace that you test? Have you confirmed the account has enough permission to do work with the REST API?

    Register an Azure AD application to use with Power BI 

    BTW, the 429 error is a common error that means 'Too Many Requests' sent so that the remote server has blocked these requests. How many requests are you test with these rest API?

    Please also take a look at the following link to confirm if your operations have met the limitations.

    Power BI REST API limitations - Power BI | Microsoft Docs
    Regards,

    Xiaoxin Sheng

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hello

      Mine works fine to start off with, then it fails, and like you said, it is due to too many requests.