mik*_*jia 7 git django heroku python-3.x
我有工作的应用程序(Availible here tandtpartners.herokuapp.com)
但是我
remote: ! The requested API endpoint was not found. Are you using the right HTTP verb (i.e. GET vs. POST), and did you specify your intended version with the Accept header?
在尝试再次部署应用程序时遇到了错误.
甚至当我克隆这个应用程序到另一个文件夹,并添加了一些!到index.html,我收到了同样的错误.
C:\heroku\2\tandtpartners>git status
On branch master
Your branch is up-to-date with 'heroku/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: hello/templates/index.html
C:\heroku\2\tandtpartners>git commit -m "Changed only index html"
[master 8a56e0d] Changed only index html
1 file changed, 1 insertion(+), 1 deletion(-)
C:\heroku\2\tandtpartners>git commit -m "Changed only index html"
[master 8a56e0d] Changed only index html
1 file changed, 1 insertion(+), 1 deletion(-)
C:\heroku\2\tandtpartners>git push heroku master
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 432 bytes | 432.00 KiB/s, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: ! The requested API endpoint was not found. Are you using the right HTTP verb (i.e. `GET` vs. `POST`), and did you specify your intended version with the `Accept` header?
remote:
To https://git.heroku.com/tandtpartners.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/tandtpartners.git'
Run Code Online (Sandbox Code Playgroud)
我该怎么办?
免费帐户的API错误
我们正在调查API错误增加的报告.这会影响平台上的许多操作,包括部署,没有与其帐户关联的信用卡的用户.我们很快就会在这里更新.
(对于未来的用户:这个答案只在很短的时间内有效,如果你有同样的问题,也许你应该看看https://status.heroku.com/)