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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Mabutho_joe
Frequent Visitor

Web.contents function with time out error

Hi There, 

 

I have a function that reads from Jira rest API that takes startAt and maxResults as arguments see below code in blue, problem is, if I add [Timeout=#duration(0,0,60,0)] it recognise this as a third argument and the function expect 2, without parameters code works very fine see code in pink, please help

(start as number, maxR as number) =>
let
Source = Json.Document(Web.Contents("https://aws-tools.standardbank.co.za/jira/rest/api/2/search?jql=issuetype%20in%20(epic,feature,spike...), maxResults=Number.ToText(maxR)]])),
issues = Source[issues]


in
issues

-------------------------------------------------------------------------------------------------------------------------------------------

let
Source = Json.Document(Web.Contents("https://aws-tools.standardbank.co.za/jira/rest/api/2/search?jql=issuetype%20in%20(epic,feature,spike...", [Timeout=#duration(0,0,60,0)])),
issues = Source[issues],

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@Mabutho_joe ,

 

I would suggest you refer to similar case below:

https://community.powerbi.com/t5/Service/The-Web-Page-function-didn-t-finish-within-timeout-of-100/t...

 

Regards,

Jimmy Tao

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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