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
M0hamedFazil
Helper II
Helper II

Pagination Rule - AbsoluteUrl

Hi fam,

I am requesting a response from the FreshDesk API

This returns me many pages of data. So i tried using Pagination rule from Copy Activity with "AbsoluteUrl" as type and "Headers.Link" as value. As per the documentation the link to next page is in the Header as Link.

M0hamedFazil_0-1725870338389.png

 

I can use "QueryParameters" but I don't know how many pages of data will be there. I requested this response in postman too and I get to see the Header as 

 

M0hamedFazil_1-1725870493095.png


When I request copy data I can get the following error

Failure happened on 'Source' side. ErrorCode=RestCallFailedWithClientError,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Rest call failed with client error, status code 404 NotFound, please check your activity settings.
Response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Page not found</title>
</head>
<body>
<style>
body{color:#333;font:12px "Helvetica Neue",Helvetica,Arial,sans-serif;background-color:transparent;background:#efefef;min-width:90%;-webkit-font-smoothing:antialiased}h2{font-size:2em;font-weight:bold;line-height:2em}a{color:#336699}.wrapper{*zoom:1;width:90%;padding-left:10px;padding-left:.625rem;padding-right:10px;padding-right:.625rem;margin-left:auto;margin-right:auto;*zoom:1;overflow:visible;position:relative;text-align:left}.wrapper:after{content:"";display:table;clear:both}.wrapper:after{content:"";display:table;clear:both}#wrap{margin-bottom:0px;text-align:center}.toomanyrequests{margin:50px auto;padding:18px 20px 30px 20px;text-align:center;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;-o-border-radius:10px;border-radius:10px}.toomanyrequests h2{font-size:3em;font-weight:300}.toomanyrequests p{font-size:20px;line-height:1.5em;margin:0;text-align:center;font-weight:300}
img { width: auto; height: 350px; }
.div1 { font-size: 25px; padding-top: 35px; line-height: 30px; font-weight: bold; }
.div2 { font-size: 16px; font-weight: 500; }
</style>
<div id="wrap" class="container">
<div class="wrapper">
<div class="toomanyrequests">
<img class="404_image" src='https://static.freshdesk.com/images/page-not-found.svg'/>
<div class="div1">Not all those who wander are lost :)</div>
<div class="div2">
<p>
<a href="/">back to home</a>
</p>
</div>
</div>
</div>
</div>
</body>
</html>
,Source=Microsoft.DataTransfer.ClientLibrary,'



Can anyone help me with this, so I can move forward. Thanks in advance

Regards
Fazil M

2 REPLIES 2
M0hamedFazil
Helper II
Helper II

hi @Anonymous 

Thank you for taking your time to reply.
I have Gone through the documentation and I checked for the URL I get for the next page which returns me the next page. 

this is the response I get from postman

M0hamedFazil_0-1726028777104.png

 

in case the image is not visible, the response I get is

<https://{domain}.freshdesk.com/api/v2/tickets?page=2>; rel="next"


Is there any mistake in the format how the header is returned? Do I need to change the format so the pagination can read the correct URL? if yes, How can I change the format?

Thanks in advance. 

Regards
Fazil M

Anonymous
Not applicable

Hi @M0hamedFazil ,

 

The error message “Rest call failed with client error, status code 404 NotFound” indicates that the URL for the next page may be incorrect or the resource may not be available.

 

Please check if the URL in “Headers.Link” is formatted correctly and accessible. Also refer to the FreshDesk API documentation for specific details on paging.

Help Desk API for Developers | Freshdesk

 


Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric 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.