Questions tagged [heroku-api]

The platform API empowers developers to automate, extend and combine Heroku with other services

The platform API empowers developers to automate, extend and combine Heroku with other services. You can use the platform API to programmatically create apps, provision add-ons and perform other tasks that could previously only be accomplished with Heroku toolbelt or dashboard.

Platform API Reference :https://devcenter.heroku.com/articles/platform-api-reference

Platform website: https://devcenter.heroku.com/categories/platform-api

Discussion Forum: https://discussion.heroku.com/category/api

153 questions
26
votes
5 answers

"Couldn't find that app." when running heroku commands in console

I'm trying to run commands for my heroku app in my console, but it keeps telling me "Couldn't find that app." even though when I run heroku apps in my console it tells me I have one app called worldofwarcraft-api So heroku recognizes my app in the…
Patrick Conboy
  • 699
  • 1
  • 6
  • 10
14
votes
5 answers

Heroku CLI throws an error whenever I try to do anything: "Please specify a version along with Heroku's API MIME type"

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 ! Please specify a version along with Heroku's API MIME type. For example, Accept:…
oktober
  • 153
  • 2
  • 8
11
votes
3 answers

Sni endpoint error when adding domain (heroku)

I'm trying to add a custom domain name to my heroku app and I'm seemingly using the correct command to do this, at least according to heroku docs. heroku domains:add domain.com -a heroku-app But I'm getting the following error. Error: Require…
mdlsvensson
  • 111
  • 1
  • 3
7
votes
1 answer

Heroku get logs of particular date

I am using Heroku and now i need to see old logs by date.I googled but i didn't got any solution .any one know how to get logs of particular date ? heroku logs --app myproject -n 200000 also tail command i tried heroku logs --source app…
scott
  • 3,112
  • 19
  • 52
  • 90
7
votes
2 answers

Deploying from github through Heroku API

Background: I have a project deployed to heroku. The heroku app is connected with github so I can press the "deploy" button from heroku's web api to manually deploy a branch on github to heroku. What I'm trying to do is build a slack bot that will…
Fishtoaster
  • 1,809
  • 2
  • 20
  • 36
6
votes
1 answer

How to run two servers on Heroku?

I have built a project in Angular 9 for the frontend and Node.js as the backend server. Now I am running node appserver.js for running the backend server. This listens to port 9090 as default. In another terminal, I am running ng serve to run my…
5
votes
0 answers

Get Heroku dyno metrics via API

I am trying to write a Heroku auto scaling script. I want to base the auto scaling on the memory usage, dyno load and response time metrics that are available on the dashboard. However I am not able to find an API endpoint in their documentation…
Martin Taleski
  • 6,033
  • 10
  • 40
  • 78
5
votes
2 answers

Heroku run Jar file once deployed?

I have deployed my jar file to heroku using: heroku deploy:jar .jar --app Once deployed, how do I run the jar file with specific params, i.e. locally i would execute: java -jar .jar Am i using the…
Joss MT
  • 279
  • 1
  • 6
  • 15
5
votes
1 answer

How to run a console command on a Heroku app through their REST API?

I need to programmatically execute a command on a Heroku app that I created used their REST API. From my console, I'd regularly do it like so: $ heroku run [command] I'm looking for a REST API request like this one: POST /apps/{app_id}/run But I…
Mauro
  • 3,946
  • 2
  • 27
  • 41
4
votes
1 answer

heroku Error: compiled slug size: is too large with Puppeteer

My app is working on localhost but when i deploy on heroku this module is required for puppeteer app https://github.com/jontewks/puppeteer-heroku-buildpack. puppeteer node_module size is around 300mb and this module size is 200.Total size is 539mb.…
Adnan Hassan
  • 105
  • 7
4
votes
1 answer

Heroku app-setups api not working with private git repository

I'm creating a dashboard to manage my heroku apps and more particularly to deploy new apps on heroku. I am using the heroku API for app-setups (https://devcenter.heroku.com/articles/platform-api-reference#app-setup-create) and the node-heroku-client…
Alexis Santini
  • 331
  • 1
  • 3
  • 17
4
votes
0 answers

Deploy a Review app via the Platform API

Is there a way, via the Heroku Platform API (or any other Heroku API). To create/destroy a Review App? Our configuration is set to not create review apps on every PR and I would like to be able to create a review app based on some signal in the…
Jon E
  • 191
  • 1
  • 8
4
votes
0 answers

Node Js app stooped running with Stopping all processes with SIGTERM Process exited with status 143

My node js application process which was working fine all of a sudden has stopped working and is erroring out with Sigterm error. I have tried to scale to standard 1x type and increased web dyno size as well. But Still I get the same error. Please…
3
votes
2 answers

OSError: [Errno 28] inotify watch limit reached

I am making a python-based web app using Streamlit. After deploying it in Heroku, the build succeeds but there is an application error. I don't have any idea where in the source code this error is being generated. Please help me! The error…
Jaggernaut
  • 31
  • 1
  • 2
3
votes
2 answers

Adding Credit Card in to Heroku

I am Trying to Add Credit Card On heroku then there message is showing "Unable to verify your Card Please Try later or contact your financial intitution for help"
1
2 3
10 11