質問編集履歴
1
エラーを出力しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -124,3 +124,10 @@
|
|
124
124
|
### 補足情報(FW/ツールのバージョンなど)
|
125
125
|
PHP Version 7.4.28
|
126
126
|
|
127
|
+
### エラー内容
|
128
|
+
|
129
|
+
いただいたご意見元にエラーが表示されるようにしました。
|
130
|
+
表示されてたエラーは以下です。
|
131
|
+
```php
|
132
|
+
Fatal error: Uncaught Google\Service\Exception: { "error": { "code": 401, "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.", "errors": [ { "message": "Login Required.", "domain": "global", "reason": "required", "location": "Authorization", "locationType": "header" } ], "status": "UNAUTHENTICATED", "details": [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "reason": "CREDENTIALS_MISSING", "domain": "googleapis.com", "metadata": { "service": "analyticsreporting.googleapis.com", "method": "google.analytics.reporting.v4.Reporting.GetReports" } } ] } } in C:\home\site\wwwroot\google-api-php-client--PHP7.4\src\Http\REST.php:134 Stack trace: #0 C:\home\site\wwwroot\google-api-php-client--PH in C:\home\site\wwwroot\google-api-php-client--PHP7.4\src\Http\REST.php on line 134
|
133
|
+
```
|