Heroku 403 Forbidden Error

Ehhmm so I found the solution.

My Procfile had a .txt extension (so Procfile.txt) whereas it needs to be only Procfile.

Quit a silly mistake but I thought I should leave the answer here for future reference. Maybe it will save time from someone else.


I was also having the same problem because I was not having any index.php file in the root folder so I did not get anything, resulting in that error. If you have same problem then after the heroku app url just type your homepage php file. For example - app/custom.php .


A really, simple, and small solution: the

ProcFile

name. I named as ProcFile that was the issue rename ProcFile to Procfile only first letter capital.