質問編集履歴
1
エラー文を追記しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,9 +12,9 @@
|
|
12
12
|
|
13
13
|
### 発生している問題・エラーメッセージ
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
error
|
15
|
+
error=Error.new_from_json_dict(response.json)
|
16
|
+
|
17
|
+
linebot.exceptions.LineBotApiError: LineBotApiError: status_code=400, request_id=fcb7dd96-c6bd-4113-8b7b-ad64fdb3284b, error_response={"details": [{"message": "May not be empty", "property": "messages[0].altText"}, {"message": "May not be empty", "property": "messages[0].contents"}], "message": "The request body has 2 error(s)"}, headers={'Server': 'openresty', 'Date': 'Thu, 10 Dec 2020 08:00:33 GMT', 'Content-Type': 'application/json', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive', 'x-line-request-id': 'fcb7dd96-c6bd-4113-8b7b-ad64fdb3284b', 'x-content-type-options': 'nosniff', 'x-xss-protection': '1; mode=block', 'cache-control': 'no-cache, no-store, max-age=0, must-revalidate', 'pragma': 'no-cache', 'expires': '0', 'x-frame-options': 'DENY'}
|
18
18
|
|
19
19
|
### 該当のソースコード
|
20
20
|
|