Follow API sometimes works and sometimes not


#1

Hello

We have an automated script that adds projects to circleci and it sometimes fails when we run:

curl -s -X POST https://circleci.com/api/v1/project/barsoom/foo/follow?circle-token=secret

But not all the time.

The error message we get is “For security purposes only a project’s Github administrator may setup Circle. …”

The script sets up the project on github using the same github user as the token on circleci.

What could we be doing wrong and how come it works some of the time?


#2