abort(403, message="Duplicate client id: {}".format(client_id))
This should be a 409 and should the arg should be args['client_id']