Throwing 400 when key is not found