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

質問編集履歴

1

エラー分でAPIのキーがそのまま表示されていたので修正しました。

2018/01/07 06:44

投稿

axs
axs

スコア29

title CHANGED
File without changes
body CHANGED
@@ -1,7 +1,7 @@
1
1
  一日のうち少しの時間だけエラーとならない時があるのですが、大半がエラーとなります。
2
2
 
3
3
  【エラー内容】
4
- Warning: file_get_contents(https://www.googleapis.com/youtube/v3/search?key=AIzaSyAWJdQqilBmvVWzyw6fjGH8rLj-gBdpb0k&q=&type=video&part=snippet,id): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in D:\php\xu8x.com\test.php on line 20
4
+ Warning: file_get_contents(https://www.googleapis.com/youtube/v3/search?key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&q=&type=video&part=snippet,id): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in D:\php\xu8x.com\test.php on line 20
5
5
 
6
6
  おそらくユニットが少ない設定なのかと思って設定で割り当てを最大値にして更新したりしてるのですがエラーが無くなりません。
7
7