-1

I cannot message Heroku directly since I am on the free tier. Heroku refers me to Salesforce.
My GitHub repo: https://github.com/NNTin/discord-twitter-bot

When I click on the Heroku Button in the ReadMe I get this.

The content of app.json is not valid; please see app.json Schema for more information.

The file does not contain a valid JSON entity.

I ran the file through a json checker. It is a valid json (RFC 4627).
I visit the provided app.json Schema link and compared the schema. I'm fulfilling it.

Moreover when I visit an older fork of my project (some random guy I do not know forked it) and use the Heroku Button there it works.

When I diffcheck I see nothing out of the ordinary. The website URL was changed, the repository URL value is matched to my GitHub project and the fork of my GitHub project, I changed the description since Twitter has updated their app page and I added 2 more environmental variable. I made sure that the description is shorter than the other descriptions to rule out a possible error in string max length.

If you look at the commits you see I modified app.json a couple of times in an attempt to fix it. Before that I haven't touched app.json for over a month and I know it was working perfectly fine 2 days ago.

What am I doing wrong?

5
  • This forum is specifically for the Salesforce product, while Heroku is owned by Salesforce the company, this is probably not the forum for this post, and you should probably check stackoverflow for more general JS/JSON questions with Heroku Nov 6 '18 at 21:27
  • I followed the instruction that was listed on Heroku. > For all programming related questions related to particular languages or frameworks, please visit the Stack Overflow community. Stack Overflow is a great place to get help from fellow Heroku users by searching thousands of previous questions or asking your own. For all questions related to the Heroku platform or specific Heroku products, please visit the Salesforce Stack Exchange community. This was not a general JSON question. It was a Heroku pipeline question.
    – Tin Nguyen
    Nov 6 '18 at 21:31
  • 1
    @Ngoc-TinDanielNguyen sounds like who every wrote that blurb was a bit confused. I think you'll want to post this to stackoverflow.com which has about 30k questions tagged with heroku. You're not alone, there are 100 or so question on this site tagged with heroku probably due to the instructions you found. Nov 7 '18 at 0:49
  • @Ngoc-TinDanielNguyen can you provide a link to the page where you took the screenshot of those instructions? Nov 7 '18 at 6:57
  • @RalphCallaway There is no proper link to it. But I made a gif on how I got to that page: i.imgur.com/bOwkNoq.gifv
    – Tin Nguyen
    Nov 7 '18 at 12:01
0

https://status.heroku.com/incidents/1662

It was an error with Heroku. It has now been resolved.

Not the answer you're looking for? Browse other questions tagged or ask your own question.