As of this morning, without having change anything in my Heroku CLI setup, I received the following error when I tried to run:
heroku logs -t -app <app_name>
! Please specify a version along with Heroku's API MIME type. For example, Accept: application/vnd.heroku+json; version=3.
I have since tried updating both heroku and heroku-toolbelt via brew upgrade heroku
and brew upgrade heroku-toolbelt
, but this did not solve the issue.
I get this error essentially whenever I try to do anything with heroku CLI, including heroku logs
, heroku apps
, heroku login
, and heroku auth:login
.
I am running MacOS, and the error posted is the only information that I am getting back from Heroku.
This discussion here: How can I specify heroku's MIME type? pertains to upgrading Heroku in Ubuntu and does not solve my issue.
heroku-toolbelt
. Hopefully this might help someone in the future. – Countermeasurepgbackups-archive
or any other gem that includes heroku as a dependency (look in your Gemfile.lock) – Countermeasureparatrooper
gem (recent occurrence of this problem). So to avoid this error for now, I'm bypassing paratrooper and just usinggit push origin master
andgit push staging master
. I don't have the CLI installed on my machine. – Papenparatrooper
tov3.0.2
and the error went away and deployed as usual. – Hatten