Ini ouput error ketika user tidak memiliki permission untuk mengakses youtube

Array
(
    [code] => 403
    [message] => Request had insufficient authentication scopes.
    [errors] => Array
        (
            [0] => Array
                (
                    [message] => Insufficient Permission
                    [domain] => global
                    [reason] => insufficientPermissions
                )

        )

    [status] => PERMISSION_DENIED
    [details] => Array
        (
            [0] => Array
                (
                    [@type] => type.googleapis.com/google.rpc.ErrorInfo
                    [reason] => ACCESS_TOKEN_SCOPE_INSUFFICIENT
                    [domain] => googleapis.com
                    [metadata] => Array
                        (
                            [service] => youtube.googleapis.com
                            [method] => youtube.api.v3.V3DataSearchService.List
                        )

                )

        )

)

Array
(
    [code] => 403
    [message] => The request cannot be completed because you have exceeded your <a href="/youtube/v3/getting-started#quota">quota</a>.
    [errors] => Array
        (
            [0] => Array
                (
                    [message] => The request cannot be completed because you have exceeded your <a href="/youtube/v3/getting-started#quota">quota</a>.
                    [domain] => youtube.quota
                    [reason] => quotaExceeded
                )

        )

)


Array
(
    [code] => 401
    [message] => Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
    [errors] => Array
        (
            [0] => Array
                (
                    [message] => Invalid Credentials
                    [domain] => global
                    [reason] => authError
                    [location] => Authorization
                    [locationType] => header
                )

        )

    [status] => UNAUTHENTICATED
)