quotable icon indicating copy to clipboard operation
quotable copied to clipboard

Duplicated data when requesting List quotes

Open irfandyj opened this issue 6 months ago • 0 comments

Describe the bug There are duplicates when requesting the List Quotes.

How do I notice this? I was trying to use this API for my own EDA project. So I thought instead of keep requesting to the API, I should just get the data by requesting the List Quotes, however I noticed there are duplicate datas everytime I made a request. I though there's something wrong with my code, because I already am rusty in Python. So I tried to check the duplicate content with Postman as well and turns out the duplicated data can be different from time to time.

I decided to take a screenshot below of the data. Along with this, there are like other 6 duplicated data. It seems that the number is quite consistent based on how much limit you have. I tried 150 limit and it will always have 34 duplicates. The lesser the limit, the more duplicates.

I'm willing to cooperate if you need any help with this.

To Reproduce

  1. Open an API client (Postman or Chrome)
  2. Make the following API request
GET https://api.quotable.io/quotes?sortBy=dateAdded&order=asc&limit=150&page=1
GET https://api.quotable.io/quotes?sortBy=dateAdded&order=asc&limit=150&page=2

Expected Response No duplicate data

Actual Response The data is duplicated. Here is an example of the request for page 1 and page 2.

Image Image

irfandyj avatar Oct 05 '25 04:10 irfandyj