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
1
vote
1 answer

Put method doesnt work in Flutter but perfectly ok in Postman

I tried an API endpoint with Postman and the Put Method works perfectly but In flutter, it doesn't update the field in textfromfield. tried every possible solution, A life-changing help void UpdateTask(int id, String a, String b) { var…
DAni M
  • 683
  • 1
  • 10
  • 21
1
vote
1 answer

Generate a production build fullstack app in react - heroku

I developed full stack app in react. I deployed my app with heroku, and the front side of the app not working https://jovelapp2.herokuapp.com - message "Cannot get /" https://jovelapp2.herokuapp.com/api/persons - but my backend route works fine when…
1
vote
1 answer

Can't connect heroku local to 0.0.0.0:5000

I'm trying to deploy my first Django app on Heroku. The django app works fine with Heroku Local on Localhost:5000, but does not work on 0.0.0.0:5000. It also crashes on…
Torkil
  • 21
  • 2
1
vote
1 answer

my discord bot works well for a while but then "failed to bind to $PORT within 60 seconds of launch"

I've tried different approaches and looked at all the other replies but i dont know how to adress it Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch 2022-03-19T09:15:18.022903+00:00 heroku[web.1]: Stopping…
1
vote
1 answer

Heroku API Client returning my data instead of user's

I created an API Client on heroku on my account (hereinafter account A), and got it to install on another account (hereinafter account B) using the OAuth flow as described here:…
Dominus
  • 808
  • 11
  • 25
1
vote
1 answer

What are the APIs heroku uses to manage postgres DB?

How the Heroku CLI tool manages DBs. What are the APIs they use? The tasks I am trying to do from the app are create/delete a postgres DB, create a dump, and import a dump using python code and not from the console or cli.
Shammir
  • 927
  • 4
  • 17
  • 32
1
vote
1 answer

Gitlab deploy to heroku failure

Gitlab fails to deploy to heroku when I push. When I first encountered the issue I referred to this link for configuration guidance. however when I push gitlab throws a RuntimeError that "ensure adapter! ": An attempt to run a request with a…
1
vote
0 answers

Invalid Host Header when using heroku and create-react-app

I'm having an issue with an app I made using create-react-app and heroku. When I open my heroku app I get an "Invalid Host Header" error and I don't know why. My deploys on Heroku say they're successful. I've been looking up this issue and have…
Victor
  • 329
  • 4
  • 17
1
vote
2 answers

Is there a way to deploy on Heroku both an SSR nodejs app and a Golang app on the same dyno?

I have a SPA (Single Page App) with JS and an index.html. I'm serving it with my backend Golang app from /public dir. I'm deploying this Golang app on Heroku: everything works! Now I'm building an SSR (Server Side Rendered) app using Svelte Kit (or…
1
vote
1 answer

How to obtain review app name through platform api

I have a github action that deploys a review app using the platform api, which then returns the review app id: https://devcenter.heroku.com/articles/platform-api-reference#review-app-create Now I need to obtain the review app name (or url) from the…
opike
  • 7,053
  • 14
  • 68
  • 95
1
vote
1 answer

Heroku H12 “Request Timeout” error on using db.query method node.js

Whenever I try to connect the Postgres Database from Heroku app Node.js, I'm getting H12 "Request Timeout" error. I thought it was because of response was not sent to the front end, after confirming with a function without db.query method. it is…
1
vote
2 answers

How To Deploy Project On Heroku

I have one project that project in nodejs and Angular divided into Two Parts One is Backend And One is Frontend. Backend Cosist Api And my Sql Connection.There used Nodejs Frontend Consist Ui coding.There used Angular This Project Are Required to…
1
vote
1 answer

Can I clone someone else's heroku app into my Heroku account?

Can I clone someone else's heroku app into my Heroku account? if yes please give some hint/Doc
Prashant
  • 21
  • 3
1
vote
1 answer

How can I customize a Push-Notification?

I am working on a project where I want to make Push notifications work, on Parse-Server (Heroku), with an iOS app. This is the code I use on the server side to generate a PUSH: const pushQuery = new…
Michel
  • 10,303
  • 17
  • 82
  • 179
1
vote
1 answer

Searchkick/Elasticsearch - Root mapping definition has unsupported parameters

I have a Rails API on Heroku and get the following issue when reindexing a class. $ heroku run rake searchkick:reindex CLASS=User And get the following error Elasticsearch::Transport::Transport::Errors::BadRequest: [400]…
1 2
3
10 11