Solved

Events pagination broken

  • 29 November 2023
  • 2 replies
  • 60 views

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.

icon

Best answer by luis 1 December 2023, 17:08

View original

2 replies

Userlevel 3
Badge +7

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 

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!

Reply