Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
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
| User | Count |
|---|---|
| 25 | |
| 22 | |
| 21 | |
| 19 | |
| 13 |
| User | Count |
|---|---|
| 68 | |
| 55 | |
| 44 | |
| 42 | |
| 30 |