在heroku上部署代码时出错 [英] Error in deploying code on heroku

查看:118
本文介绍了在heroku上部署代码时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在git hub中有一个java脚本代码,在上个月我在heroku上部署了很多次,而且我没有问题。今天,当我想在heroku上部署完全相同的代码时,我得到了出现以下错误:

 没有找到请求的API端点。您是否使用了正确的HTTP动词(即`GET`与`POST`),并且是否使用`Accept`标题指定了您的预期版本? 

有人知道我为什么遇到这个错误,应该怎么做才能解决它?

解决方案

我从今天开始就有同样的错误,即使我之前已经能够部署我的Java应用程序。
heroku结束时可能会出现问题。



我做了一张票,我会试着更新您的答案。

I have a java script code in git hub and I was deploying it many many times on heroku during the last month and I had no problem.Today, when I wanted to deploy the exact same code on heroku, I've got the following error:

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?

Does anybody know why I encountered this error and what should I do to solve it?

解决方案

I'm having the exact same error since today, even though I've been able to deploy my java app before. There might be something wrong on heroku's end.

I made a ticket and I'll try to update you on the answer.

这篇关于在heroku上部署代码时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆