Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dailyLimitExceededUnreg from the getgo #11

Open
JoshuaSoileau opened this issue Feb 10, 2018 · 2 comments
Open

dailyLimitExceededUnreg from the getgo #11

JoshuaSoileau opened this issue Feb 10, 2018 · 2 comments

Comments

@JoshuaSoileau
Copy link

I'm getting a 403 forbidden response on all requests.

[2018-02-10 00:30:17] local.ERROR: Client error: `POST https://www.googleapis.com/urlshortener/v1/url` resulted in a `403 Forbidden` response:
{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "dailyLimitExceededUnreg",
    "message": "D (truncated...)
 {"userId":2,"email":"[email protected]","exception":"[object] (Waavi\\UrlShortener\\Exceptions\\InvalidResponseException(code: 0): Client error: `POST https://www.googleapis.com/urlshortener/v1/url` resulted in a `403 Forbidden` response:
{
 \"error\": {
  \"errors\": [
   {
    \"domain\": \"usageLimits\",
    \"reason\": \"dailyLimitExceededUnreg\",
    \"message\": \"D (truncated...)
 at /Sites/MyApp/vendor/waavi/url-shortener/src/UrlShortener.php:59)

Is there an additional authentication step I need to make for a valid API key? I made it through their API console.

@lucasctd
Copy link

same error here

@lucasctd
Copy link

The weird thing is, I am using this package with another website made with Laravel 5.2 and it works fine, but with Lumen 5.4, it doesn't, and I have no idea why.
I have also tried tzsk/shorten-url which always return null... Is anyone facing the same problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants