api visits_got to gym, has an error though