GitLab compare API not working

GitLab compare API /api/v4/projects/6/repository/compare?from=master&to=Featurebranch1

The output is “GitLab is not responding”