Skip to main content
Answer

Events pagination broken

  • November 29, 2023
  • 2 replies
  • 160 views

luis

Paginating over the events API is broken:

  • I’m using the “list events” API.
  • My first request is to https://api2.frontapp.com/events
  • The response contains some events + _pagination.next = https://relayapp.api.frontapp.com/events?page_token=Token_1
  • When I use the next page URL, I get the following response:
    • The exact same events as in my first request (I was expecting the next batch of events)
    • As _pagination.next, I receive the exact same URL I’ve just requested (with page_token=Token_1)

This makes this API unusable, since I don’t have a way to paginate and iterate over events.

Note:

  • This happens both with and without a query. So it can’t be a query issue on my side.
  • Also this only happens in /events, but pagination works as expected for any other API (e.g. conversations). However, only /events is jumping from the api2.frontapp.com domain to my app-specific domain in pagination, so might be related to that?

Is there a known bug on your side?

Thanks!

Luis.

Best answer by luis

It looks like it actually works as expected now. Might have been a transient error.

I will reach out to support with a video if I hit it again.

Thanks!

2 replies

justin
Forum|alt.badge.img+8
  • Fronteer
  • November 30, 2023

Hi Luis 👋

There is no known bug or reports of similar issues currently. To investigate further, could you reach out to our support team and provide a screen recording of the behavior? This will help our team review this in greater detail while respecting the private details of your data. 

Thanks, 
Justin 


luis
  • Author
  • Helper
  • Answer
  • December 1, 2023

It looks like it actually works as expected now. Might have been a transient error.

I will reach out to support with a video if I hit it again.

Thanks!