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
3
votes
2 answers

bitbucket pipelines heroku deploy issue

I'm having trouble deploying my app to heroku, I'm using the heroku_deploy.sh from documentation and get Deploying Heroku Version 82d8ec66d98120ae24c89b88dc75e4d1c225461e Traceback (most recent call last): File "", line 1, in…
Chen Kinnrot
  • 20,609
  • 17
  • 79
  • 141
3
votes
2 answers

I/O timeout while trying to login Heroku in Unix system?

All dependencies and Plug-ins are installed correctly but but while I am trying to login via heroku login command and give credentials it gives me following error. Post https://api.heroku.com/login: dial tcp: lookup api.heroku.com on …
Abu Sufian
  • 991
  • 1
  • 6
  • 15
3
votes
0 answers

Best way to execute post deploy script on Heroku

To run my app on heroku I use pm2, and I configure my Procfile with: worker: node main.js Before start my app, I need to configure same modules of pm2 with script npm i -g pm2 pm2 install pm2-logrotate pm2 install pm2-slack pm2 set…
ridermansb
  • 10,779
  • 24
  • 115
  • 226
2
votes
1 answer

Heroku - Login not working on site with an auth loop

I have tried a few things such as resetting my password, entering everything in manually, trying all my accounts, clearing my cookies and even trying a fresh browser. However, I sadly cannot login to heroku.com The page either refreshes itself when…
2
votes
0 answers

Free SSL setup on Heroku for a react-app using LetsEncrypt

To start with I really don't want to pay for hobby dyno on heroku. I am well aware of their ACM process. I am trying to be a little careful with spends as I am testing something. My current setup is as follows: Namecheap (domain xyz.com) ->…
sudhishkr
  • 3,318
  • 5
  • 33
  • 55
2
votes
1 answer

Managing multiple domains in a rails application error: "NameError (uninitialized constant #::Heroku):"

In my rails app, I'm trying to create a booking form external parties(parks) can point their customers to to make a booking for the respective park. The booking form works with the url/route with the subdomain…
techquestion
  • 489
  • 5
  • 20
2
votes
0 answers

Unable to make SalesForce REST API call using nforce

I am new to SalesForce and Heroku platform. I am trying to explore and learn as much as possible. I have developed React app and deployed to Heroku. Its working as expected, but I am at a stage where I am suppose to make Rest API call to Salesforce…
salah9
  • 502
  • 1
  • 10
  • 21
2
votes
0 answers

Heroku Platform API gem — NameError: uninitialized constant ActiveJobClass::Heroku

I'm trying to allow my users to CNAME their custom domain to my Rails app hosted on Heroku. I tried to follow this article but I'm getting this error in my logs when I ran the code: WARN: NameError: uninitialized constant…
2
votes
1 answer

Heroku: Disable Autoscaling programmatically?

Is there a way to disable/re-enable Heroku autoscaling programmatically via API / CLI / rules (e.g. time of day?)
sellarafaeli
  • 1,167
  • 2
  • 9
  • 24
2
votes
1 answer

Heroku login error on Ubuntu 16.04

Unable to login heroku via terminal after recently installing CLI: TypeError: Cannot read property 'body' of undefined at new HerokuAPIError (/usr/local/lib/heroku/node_modules/@heroku-cli/command/lib/api_client.js:12:33) at Login.login…
2
votes
0 answers

Slackbot written in Swift 4 deployed on Heroku

I wrote a Slackbot with SlackKit and Swift 4.0. I followed a very simple and easy to understand tutorial from Peter Zignego He deployed his Bot at Heroku So first issue that appears was that I use a array extension which gives me a random item from…
2
votes
2 answers

deploy to heroku using bitbucket pipes to non-master branch

I'm trying to use bitbucket pipes to deploy for two apps in heroku on app is received the master branch from git repo and that is running well and deploy without problems. The problem is when I'm try to deploy from a branch called "develop" to other…
mastervv
  • 382
  • 1
  • 4
  • 20
2
votes
2 answers

Scaling Dyno worker size dynamically on Heroku Rails application

I am working on a project that launches a process via a Rails worker that is very resource intensive and it can only be handled properly by a Performance Worker on Heroku, 1X workers are killed because they use too much RAM and 2X workers can barely…
rii
  • 1,578
  • 1
  • 17
  • 22
1
vote
1 answer

How do I use the token to authenticate with Heroku in Ruby using their gem?

I can successfully list pipelines using the heroku-cli (actual names hidden for security): $ heroku pipelines === My Pipelines ...-qa-pipeline ...-qa-pipeline ...-qa-pipeline When I try to do the same in Ruby, I get a 401 Unauthorized: require…
Pablo Fernandez
  • 279,434
  • 135
  • 377
  • 622
1
vote
1 answer

Send request to all dynos

I run 4 dynos with nodejs app on it under same subdomain (Example: app.website.com). I need to send to all my dynos request from other dyno app (other domain: admin.website.com), also nodejs app. All dynos should remove some cached data in memory on…
Stan
  • 13
  • 3
1
2
3
10 11