QuizzifyTech

Bug library › API testing

API testing · Orders API

Delivery date in the API is 31 February

P3 · MinorBeginnerOrders API

Want to find it yourself first? This page gives away the answer. Play this bug on a fake app screen and see if you can spot it in three tries.

Spot this bug

The clue

Read the date carefully. Could that day exist?

Steps to reproduce

  1. Place an order near the end of February
  2. Read deliver_by in the order API

Expected result

A real date, such as "2026-03-03"

Actual result

"2026-02-31", a date that does not exist

Why it matters

This is a minor (P3) bug. It does not stop anyone, but it looks careless and makes people trust the product less. It is usually fixed in a normal sprint.

Testing tip

Date maths breaks at month ends and leap years. Test orders placed on the 28th, 29th, 30th and 31st.

How to find bugs like this

API bugs live in the JSON between the app and the server: wrong records returned, fields that leak private data, bad status codes and limits that are not enforced. When you test, try these checks:

  • Read the whole response body, not only the status code.
  • Ask for other users’ records on purpose.
  • Look for fields that should never leave the server.
  • Send values at and past every limit.

More API testing bugs

See all 158 bugs