Travis Could not authorize build request
Solution 1:
'Could not authorize build request ...' usually occurs due to
- A plan is not selected. Travis will not select the free plan automatically. Select the free or paid plan for your organization manually.
- Selected plan become inactive. Go to settings and select the plan again.
- Expiration of your paid subscription.
- Ran out of free trial build credits available for private repositories.
Travis CI is always-free only for public repositories. The free plan also provides 10,000 build credits try out building private repositories. Read updated info on Billing FAQ.
Solution 2:
It's also worth mentioning that this happens if you do not have a plan selected for your organization. First, you need to select a plan (Travis does not automatically select the free plan for you). Then, you can trigger a build and see if things work.
If that does not work, you're likely out of builds and will need to upgrade the account.
Solution 3:
Make sure your subscription even to the Free plan is OK. In my case it was ON for the Github user. However, it was not for the organization
Solution 4:
I am using a free version of travis. I got this error because I didn't signup for a plan (so stupid :( ) but later I did. I signed up for a free plan and the build started.
Solution 5:
I found this issue in the Travis CI docs repo in which another user is describing the same problem.
According to a response from the Travis team: "'Could not authorize build request for ... ', usually means that the account ran out of trial builds or has not an active subscription on travis-ci.com".