Exception thrown with message "{
"error": {
"errors": [
{
"domain": "youtube.thumbnail",
"reason": "videoNotFound",
"message": "The video that you are trying to insert a thumbnail image for cannot be found. Check the value of the requests \u003ccode\u003evideoId\u003c/code\u003e parameter to ensure that it is correct.",
"locationType": "parameter",
"location": "videoId"
}
],
"code": 404,
"message": "The video that you are trying to insert a thumbnail image for cannot be found. Check the value of the requests \u003ccode\u003evideoId\u003c/code\u003e parameter to ensure that it is correct."
}
}
"
Stacktrace:
#53 Exception in D:\Laravel Project's\islamicmind\vendor\dawson\youtube\src\Youtube.php:221
#52 Dawson\Youtube\Youtube:withThumbnail in D:\Laravel Project's\islamicmind\app\Http\Controllers\ContentController.php:116
#51 App\Http\Controllers\ContentController:videostore in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Controller.php:54
#50 call_user_func_array in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Controller.php:54
#49 Illuminate\Routing\Controller:callAction in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php:45
#48 Illuminate\Routing\ControllerDispatcher:dispatch in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Route.php:212
#47 Illuminate\Routing\Route:runController in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Route.php:169
#46 Illuminate\Routing\Route:run in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Router.php:658
#45 Illuminate\Routing\Router:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:30
#44 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Middleware\SubstituteBindings.php:41
#43 Illuminate\Routing\Middleware\SubstituteBindings:handle in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:149
#42 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
#41 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\VerifyCsrfToken.php:68
#40 Illuminate\Foundation\Http\Middleware\VerifyCsrfToken:handle in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:149
#39 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
#38 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\View\Middleware\ShareErrorsFromSession.php:49
#37 Illuminate\View\Middleware\ShareErrorsFromSession:handle in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:149
#36 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
#35 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Session\Middleware\StartSession.php:63
#34 Illuminate\Session\Middleware\StartSession:handle in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:149
#33 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
#32 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse.php:37
#31 Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse:handle in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:149
#30 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
#29 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\EncryptCookies.php:66
#28 Illuminate\Cookie\Middleware\EncryptCookies:handle in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:149
#27 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
#26 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:102
#25 Illuminate\Pipeline\Pipeline:then in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Router.php:660
#24 Illuminate\Routing\Router:runRouteWithinStack in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Router.php:635
#23 Illuminate\Routing\Router:runRoute in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Router.php:601
#22 Illuminate\Routing\Router:dispatchToRoute in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Router.php:590
#21 Illuminate\Routing\Router:dispatch in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php:176
#20 Illuminate\Foundation\Http\Kernel:Illuminate\Foundation\Http\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:30
#19 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\fideloper\proxy\src\TrustProxies.php:56
#18 Fideloper\Proxy\TrustProxies:handle in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:149
#17 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
#16 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php:30
#15 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:149
#14 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
#13 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php:30
#12 Illuminate\Foundation\Http\Middleware\TransformsRequest:handle in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:149
#11 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
#10 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\ValidatePostSize.php:27
#9 Illuminate\Foundation\Http\Middleware\ValidatePostSize:handle in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:149
#8 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
#7 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php:46
#6 Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode:handle in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:149
#5 Illuminate\Pipeline\Pipeline:Illuminate\Pipeline\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:53
#4 Illuminate\Routing\Pipeline:Illuminate\Routing\{closure} in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:102
#3 Illuminate\Pipeline\Pipeline:then in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php:151
#2 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in D:\Laravel Project's\islamicmind\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php:116
#1 Illuminate\Foundation\Http\Kernel:handle in D:\Laravel Project's\islamicmind\public\index.php:55
#0 require_once in D:\Laravel Project's\islamicmind\server.php:21
I tried to upload and set the thumbnail with this code
and get error like this