next(err) api bootcamp