Check if the bin exists and send appropriate error