Hi All,
Turn on the debugger mode I got the below stack trace error message. ( refer attachment )
I've check the code in repository/youtube/lib.php line 194 as below :
188 } catch (Google_Service_Exception $e) {
189 // If we throw the google exception as-is, we may expose the apikey
190 // to end users. The full message in the google exception includes
191 // the apikey param, so we take just the part pertaining to the
192 // actual error.
193 $error = $e->getErrors()[0]['message'];
194 throw new moodle_exception('apierror', 'repository_youtube', '', $error);
195 }
196 return $list;
when i've change the 193 line to $error = $e->getMessage(); the error dialog return Invalid json in service response: ( refer attachment )
Appreciate your guide guys.
* I think this thread in wrong category ... I saw Repository category just now .. sorry for this.Tq