我正在使用firebase功能.而且有一个问题.我昨天将我的功能源部署到了firebase.今天是工作源和服务好的工具.但是现在!突然返回内部错误而不记录它(Firebase在firebase记录器中没有显示内部错误,我不知道为什么).我没有编辑我的源代码并且代码并不困难.
这是我的代码.
exports.keyboard = functions.https.onRequest((request, response) => {
responseMessage = {"type" : "buttons", "buttons" : global.defineManager.MAIN_BUTTONS}
response.status(200).send(JSON.stringify(responseMessage))
});
Run Code Online (Sandbox Code Playgroud)
这就是我收到的.
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>500 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered an error and could not complete your request.
<p>Please try again in 30 seconds.
</h2>
<h2></h2>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
我正在使用firebase大火价格.我该怎么办?我错了什么?