{"action":"created","issue":{"url":"https://api.github.com/repos/hayageek/jQuery-URL-shortener/issues/3","labels_url":"https://api.github.com/repos/hayageek/jQuery-URL-shortener/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/hayageek/jQuery-URL-shortener/issues/3/comments","events_url":"https://api.github.com/repos/hayageek/jQuery-URL-shortener/issues/3/events","html_url":"https://github.com/hayageek/jQuery-URL-shortener/issues/3","id":63751887,"number":3,"title":"Issue with Google JS API","user":{"login":"Prindle19","id":1731718,"avatar_url":"https://avatars.githubusercontent.com/u/1731718?v=3","gravatar_id":"","url":"https://api.github.com/users/Prindle19","html_url":"https://github.com/Prindle19","followers_url":"https://api.github.com/users/Prindle19/followers","following_url":"https://api.github.com/users/Prindle19/following{/other_user}","gists_url":"https://api.github.com/users/Prindle19/gists{/gist_id}","starred_url":"https://api.github.com/users/Prindle19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prindle19/subscriptions","organizations_url":"https://api.github.com/users/Prindle19/orgs","repos_url":"https://api.github.com/users/Prindle19/repos","events_url":"https://api.github.com/users/Prindle19/events{/privacy}","received_events_url":"https://api.github.com/users/Prindle19/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-23T15:30:44Z","updated_at":"2015-03-25T09:03:24Z","closed_at":"2015-03-25T09:03:24Z","body":"Seems to be a current issue with the plugin, possibly due to a change with the Google JS API. \r\n\r\nPlugin was working fine, but, now getting the following error:\r\n\r\n{\"code\":403,\"data\":[{\"domain\":\"usageLimits\",\"reason\":\"dailyLimitExceededUnreg\",\"message\":\"Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.\",\"extendedHelp\":\"https://code.google.com/apis/console\"}],\"message\":\"Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.\"}\r\n\r\nI also see no reported usage in my Google Developer Console - so, my hunch is that the API Key is not being set properly. "},"comment":{"url":"https://api.github.com/repos/hayageek/jQuery-URL-shortener/issues/comments/85939440","html_url":"https://github.com/hayageek/jQuery-URL-shortener/issues/3#issuecomment-85939440","issue_url":"https://api.github.com/repos/hayageek/jQuery-URL-shortener/issues/3","id":85939440,"user":{"login":"hayageek","id":2642670,"avatar_url":"https://avatars.githubusercontent.com/u/2642670?v=3","gravatar_id":"","url":"https://api.github.com/users/hayageek","html_url":"https://github.com/hayageek","followers_url":"https://api.github.com/users/hayageek/followers","following_url":"https://api.github.com/users/hayageek/following{/other_user}","gists_url":"https://api.github.com/users/hayageek/gists{/gist_id}","starred_url":"https://api.github.com/users/hayageek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hayageek/subscriptions","organizations_url":"https://api.github.com/users/hayageek/orgs","repos_url":"https://api.github.com/users/hayageek/repos","events_url":"https://api.github.com/users/hayageek/events{/privacy}","received_events_url":"https://api.github.com/users/hayageek/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T09:03:24Z","updated_at":"2015-03-25T09:03:24Z","body":"Hi\r\nI got the issue\r\n    jQuery.urlShortener.settings.apiKey='AIzaSyA_58cEOFbMLikfv7NIzFd_ELgoDuq88jc';\r\n\r\nYou are setting the API key in side getShortURL();\r\n\r\nmove it from the function, and keep inside document.ready.\r\n\r\n$(document).ready(function()\r\n{\r\n    jQuery.urlShortener.settings.apiKey='AIzaSyA_58cEOFbMLikfv7NIzFd_ELgoDuq88jc';\r\n\r\n});\r\n\r\nReason is: you need to set the key, before loading google scripts.\r\n\r\n\r\n"}}