Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. gapi.client.setApiKey(Config.apiKey);
  2.  
  3. gapi.client.load(Config.apiName, Config.apiVersion, function() {
  4. service.isApiLoaded = true;
  5. if (service.onApiReadyCallback !== null) {
  6. service.onApiReadyCallback();
  7. }
  8.  
  9. console.log('Connected to API server: ' + Config.endpointUrl);
  10. console.log(Config.apiName + ' API loaded, version ' +
  11. Config.apiVersion);
  12. }, Config.endpointUrl);
  13.  
  14. {
  15. code: 403,
  16. data: Array[1],
  17. error: Object,
  18. message: "Access Not Configured. The API () is not enabled for your project. Please use the Google Developers Console to update your configuration.",
  19. __proto__: Object
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement