cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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

Accepted Solutions
Highlighted
Community Support
Community Support

1 REPLY 1
Highlighted
Community Support
Community Support

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors