MISSING_ARG_ACCESS_TOKEN
Hi, first, thanks for this bundle.
I created a user on bitly and put the credentials on the configuration. I tested with the oauth credentials and also found a place where it talks about legacy api key. Neither pair worked. Both gave me the following error:
[Mremi\UrlShortener\Exception\InvalidApiResponseException]
Bit.ly returned status code "500" with message "MISSING_ARG_ACCESS_TOKEN"
Google is working ok with the api key.
Maybe I missed something, but I think I have followed all the instructions.
+1
Hi,
Sorry for the late answer. The only way I found to throw this exception was to inject a wrong username or password to retrieve an access token. Are you sure about your credentials?
this error will come if you try to create links in a loop, because bitly start sending following error while getting access token:
"{"status_code": 403, "data": null, "status_txt": "RATE_LIMIT_EXCEEDED"}"
Bitly free account has a limit per hour, per minute and per account. In my case, it start sending this error after 29th iteration of loop
Thanks @awnali . @brunoreis I let you close the issue if it's ok for you.
yes let me close this issue.