Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gapi.client.setApiKey(Config.apiKey);
- gapi.client.load(Config.apiName, Config.apiVersion, function() {
- service.isApiLoaded = true;
- if (service.onApiReadyCallback !== null) {
- service.onApiReadyCallback();
- }
- console.log('Connected to API server: ' + Config.endpointUrl);
- console.log(Config.apiName + ' API loaded, version ' +
- Config.apiVersion);
- }, Config.endpointUrl);
- {
- code: 403,
- data: Array[1],
- error: Object,
- message: "Access Not Configured. The API () is not enabled for your project. Please use the Google Developers Console to update your configuration.",
- __proto__: Object
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement