Solved

API, link header lies

 Hello,

    API keeps lying to us. We're hitting the API at /api/v2/agents,  and it returns the headers['link']:  '<https://.........freshdesk.com/api/v2/agents?page=2>; rel="next"', and then not surprisingly, there is no next page, as calling it produces a 404.


path:  /api/v2/agents&page=2
statusCode:  404



1 person has this problem

Hey Juan,


The url in the header contains a '?' separating the words 'agents' and 'page'.

Can you please try this https://.........freshdesk.com/api/v2/agents?page=2

instead of the url https://.........freshdesk.com/api/v2/agents&page=2


 ohh yes.  Your right.  and now it works as documented.

Thank you so much.

I think we can delete this thread..

:)

need API