NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 35 min
Check that invitations work once, that a seat limit counts everyone who holds or has been promised a seat, and that an organisation cannot lose its last owner.
At 15:02:47 on Thursday 2027-07-15 an engineer on Owen Adeyemi's team sent one invitation from the test organisation org_902. It already had eight active members and two invitations waiting to be accepted, which is ten seats. The written rule stops at ten. The API answered 201 and created an eleventh.
Nothing about that request looked unusual. The caller was an owner, the body was valid and the address was a test mailbox. The fault is in what the server counted before it said yes. Flows in which one person's action gives another person access tend to fail this way, because the rule talks about the organisation as a whole while the code looks at the one thing in front of it.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign in