teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

追記

2021/10/01 07:27

投稿

paypay29
paypay29

スコア3

title CHANGED
File without changes
body CHANGED
@@ -11,7 +11,13 @@
11
11
 
12
12
  というエラーが出ており、素人なのでエラーの意味が分かりません。
13
13
 
14
+ 追記
15
+ heroku run rails db:migrate を実行したところ
16
+ Running rails db:migrate on ⬢ -----... up, run.7636 (Free)
17
+ bash: rails: command not found
14
18
 
19
+ と出ました。これも何か関係あるんでしょうか。
20
+
15
21
  ```python
16
22
  from flask import Flask, request, abort
17
23
  from linebot import (

1

誤字

2021/10/01 07:27

投稿

paypay29
paypay29

スコア3

title CHANGED
File without changes
body CHANGED
@@ -9,7 +9,7 @@
9
9
  raise LineBotApiError(
10
10
  2021-10-01T06:29:04.538642+00:00 app[web.1]: linebot.exceptions.LineBotApiError: LineBotApiError: status_code=401, request_id=b0590361-0d67-4cde-86da-d4c2df4fcb5b, error_response={"details": [], "message": "Authentication failed. Confirm that the access token in the authorization header is valid."}, headers={'Server': 'openresty', 'Content-Type': 'application/json', 'Content-Length': '104', 'WWW-Authenticate': 'Bearer error="invalid_token", error_description="invalid token"', 'x-content-type-options': 'nosniff', 'x-frame-options': 'DENY', 'x-line-request-id': 'b0590361-0d67-4cde-86da-d4c2df4fcb5b', 'x-xss-protection': '1; mode=block', 'Expires': 'Fri, 01 Oct 2021 06:29:04 GMT', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Pragma': 'no-cache', 'Date': 'Fri, 01 Oct 2021 06:29:04 GMT', 'Connection': 'close'}
11
11
 
12
- というエラーが出ており、この素人なのでエラーの意味が分かりません。
12
+ というエラーが出ており、素人なのでエラーの意味が分かりません。
13
13
 
14
14
 
15
15
  ```python