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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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