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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
kasife
Helper V
Helper V

Blocked API - Request

Hi Guys,

I'm trying to make a call via API, but some records (IDs) are giving the following error: "API Blocked - Exceeded number of accesses to API, wait a few minutes and try again". Can anyone help me how I would solve this request problem?

Below is the code I implemented for the call:

 

(id)=>
let
    Source = 
    Json.Document(
        Web.Contents(
            "https://api.tiny.com.br/",
                [
                    RelativePath = "api2/produto.obter.estoque.php",
                    Query = 
                    [
                        token = "tokentokentokentokentokentokentokentokentoken",
                        id = Text.From(id),
                        formato = "json"
                    ]
                ]
        )

    ),
    Delay = Function.InvokeAfter(Source, #duration(0,0,0,20)),
      Table = Source{0}[table]
in
    Source

 

 

 

0 REPLIES 0

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.