check_availability reports what is free at that moment; it doesn't hold the slot. Someone booked it in between. Handle a 409 on book_slot by refreshing availability and letting the user choose again.
book_slot returns 409 after check_availability said free
Common question, written up by the Supero team.
Error message
409 ConflictLinkrev 1
1 answer
Accepted answer
Accepted answer
Linkrev 1
Your answer
Know the answer? Sign in to post it. It takes an email address and a 6-digit code.
Sign in to answer