Array
(
[headers] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
[vary] => Array
(
[0] => Origin
[1] => X-Origin
[2] => Referer
)
[content-type] => application/json; charset=UTF-8
[content-encoding] => gzip
[date] => Sun, 22 Dec 2024 18:24:45 GMT
[server] => scaffolding on HTTPServer2
[x-xss-protection] => 0
[x-frame-options] => SAMEORIGIN
[x-content-type-options] => nosniff
[alt-svc] => h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
)
)
[body] => {
"error": {
"code": 400,
"message": "API key not valid. Please pass a valid API key.",
"errors": [
{
"message": "API key not valid. Please pass a valid API key.",
"domain": "global",
"reason": "badRequest"
}
],
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "API_KEY_INVALID",
"domain": "googleapis.com",
"metadata": {
"service": "youtube.googleapis.com"
}
},
{
"@type": "type.googleapis.com/google.rpc.LocalizedMessage",
"locale": "en-US",
"message": "API key not valid. Please pass a valid API key."
}
]
}
}
[response] => Array
(
[code] => 400
[message] => Bad Request
)
[cookies] => Array
(
)
[filename] =>
[http_response] => WP_HTTP_Requests_Response Object
(
[response:protected] => Requests_Response Object
(
[body] => {
"error": {
"code": 400,
"message": "API key not valid. Please pass a valid API key.",
"errors": [
{
"message": "API key not valid. Please pass a valid API key.",
"domain": "global",
"reason": "badRequest"
}
],
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "API_KEY_INVALID",
"domain": "googleapis.com",
"metadata": {
"service": "youtube.googleapis.com"
}
},
{
"@type": "type.googleapis.com/google.rpc.LocalizedMessage",
"locale": "en-US",
"message": "API key not valid. Please pass a valid API key."
}
]
}
}
[raw] => HTTP/1.1 400 Bad Request
Vary: Origin
Vary: X-Origin
Vary: Referer
Content-Type: application/json; charset=UTF-8
Content-Encoding: gzip
Date: Sun, 22 Dec 2024 18:24:45 GMT
Server: scaffolding on HTTPServer2
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
Alt-Svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
Connection: close
Transfer-Encoding: chunked
{
"error": {
"code": 400,
"message": "API key not valid. Please pass a valid API key.",
"errors": [
{
"message": "API key not valid. Please pass a valid API key.",
"domain": "global",
"reason": "badRequest"
}
],
"status": "INVALID_ARGUMENT",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "API_KEY_INVALID",
"domain": "googleapis.com",
"metadata": {
"service": "youtube.googleapis.com"
}
},
{
"@type": "type.googleapis.com/google.rpc.LocalizedMessage",
"locale": "en-US",
"message": "API key not valid. Please pass a valid API key."
}
]
}
}
[headers] => Requests_Response_Headers Object
(
[data:protected] => Array
(
[vary] => Array
(
[0] => Origin
[1] => X-Origin
[2] => Referer
)
[content-type] => Array
(
[0] => application/json; charset=UTF-8
)
[content-encoding] => Array
(
[0] => gzip
)
[date] => Array
(
[0] => Sun, 22 Dec 2024 18:24:45 GMT
)
[server] => Array
(
[0] => scaffolding on HTTPServer2
)
[x-xss-protection] => Array
(
[0] => 0
)
[x-frame-options] => Array
(
[0] => SAMEORIGIN
)
[x-content-type-options] => Array
(
[0] => nosniff
)
[alt-svc] => Array
(
[0] => h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
)
)
)
[status_code] => 400
[protocol_version] => 1.1
[success] =>
[redirects] => 0
[url] => https://www.googleapis.com/youtube/v3/videos?part=id,snippet,contentDetails&maxResults=15&id=buoMlAshKXQ,ESKCFc8vP5E,Ik-DhHJM8eo,7DWrADEji40,WabE2ynk-0A,VXU1r88HxQk,W_3Dmaa4exA,IkHrHKM_ioU,ygP_WhpKelE&key=AIzaSyDAPpv6MrwEkSu3CU7bnvKvHh5NkPtUdLM
[history] => Array
(
)
[cookies] => Requests_Cookie_Jar Object
(
[cookies:protected] => Array
(
)
)
)
[filename:protected] =>
[data] =>
[headers] =>
[status] =>
)
)
YotuWP: An issue happend when getting the videos, please check your connection and refresh page again .