sstjean / bitly-dot-net

Automatically exported from code.google.com/p/bitly-dot-net
0 stars 0 forks source link

Unable to extract "errorCode" #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In code i am doing  IBitlyService s = new 
BitlyService(TTSettings.Instance.BitlyUser, TTSettings.Instance.BitlyKey);
2.
3.

What is the expected output? What do you see instead?
I get Unable to extract "errorCode"

What version of the product are you using? On what operating system?
latest version from nuget Bitly.Net API Wrapper 0.0.6.0 on windows7

Please provide any additional information below.

Original issue reported on code.google.com by ismailm...@gmail.com on 7 Aug 2013 at 3:03

GoogleCodeExporter commented 9 years ago
I'm getting the same exception.  I think this has to do with reaching an API 
call limit.  Not sure what other info I can offer besides that?

Original comment by mikejoyc...@gmail.com on 16 Sep 2013 at 6:42

GoogleCodeExporter commented 9 years ago
I'm getting this error too...
Please show me the solution!

Original comment by shadman...@gmail.com on 20 Jan 2014 at 10:56

GoogleCodeExporter commented 9 years ago
I'm getting the same "/errorCode/" message all of a sudden. Using v0.6.0.0. Any 
resolution?? 

My Code snippit
            string url = string.Format("{0}{1}", "https://", packet.ViewAlertsLink);
            string shortUrl = "";
            BitlyDotNET.Interfaces.StatusCode code = StatusCode.OK;
            try
            {

                code = ConfigurationHelper.Bitly.Shorten(url, out shortUrl);
                if (code == StatusCode.OK)
                {
                    this.SmsPacket.ViewAlertsLink = shortUrl;
                }

            }
            catch (Exception ex)
            {
                log.Error(string.Format("Invalid url for Bitly on ContextName:{0}, clientId: {1}, url {2}, Code:{3}", packet.ContextName, this.ClientId, url, code.ToString()), ex);
            }
        }

Original comment by lcl...@stackify.com on 24 Feb 2014 at 9:12

GoogleCodeExporter commented 9 years ago
I am getting the same error. Any solution to this yet?

Original comment by jmog...@gmail.com on 5 Mar 2014 at 8:14

GoogleCodeExporter commented 9 years ago
XML api is depricated. OAuth is the new hotness. But just in case. Visit: 
https://bitly.com/a/your_api_key for your api key.

Original comment by erik.zet...@gmail.com on 25 Jun 2014 at 5:48