Avnish1985 / bitly-api

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

/shorten occasionally returns 404 (UNKNOWN METHOD) #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

> Create an HTTP request against the /shorten endpoint; occasionally you will 
get a 404 UNKNOWN METHOD. Unfortunately, the error does not reproduce 
consistently, but it happened twice today. The exact URL that we saw the errors 
on are:

> 
http://api.bit.ly/v3/shorten?longUrl=http%3A%2F%2Fapp.rentjuice.local%2Fjoin%2Fd
irectory%2F%3Fmeta%3DeyJmaXJzdF9uYW1lIjoiVGVzdCIsImxhc3RfbmFtZSI6IlRlc3QiLCJlbWF
pbCI6InRlcnJpQHJlbnRqdWljZS5jb20iLCJmcm9tX29mZmljZV9pZCI6IjMiLCJ0b19vZmZpY2VfaWQ
iOiI1MiJ9&login=devjuice&apiKey=R_1b7fcb8444d2c1616957b025906991fb

> 
http://api.bit.ly/v3/shorten?longUrl=http%3A%2F%2Fapp.rentjuice.local%2Fjoin%2Fd
irectory%2F%3Fmeta%3DeyJmaXJzdF9uYW1lIjoiVGVzdCIsImxhc3RfbmFtZSI6IlRlc3QiLCJlbWF
pbCI6InRlcnJpQHJlbnRqdWljZS5jb20iLCJmcm9tX29mZmljZV9pZCI6IjMiLCJ0b19vZmZpY2VfaWQ
iOiI1MiJ9&login=devjuice&apiKey=R_1b7fcb8444d2c1616957b025906991fb

What is the expected output? What do you see instead?

> We expected the endpoint to provide the standard shorten response. However, 
because of these intermittent 404s, we are forced to exponentially back off 
until the API returns success.

What version of the product are you using? On what operating system?

> We are using the Bit.ly REST API.

Please provide any additional information below.

> you can contact us directly if you need more information: tech@rentjuice.com

Original issue reported on code.google.com by j...@rentjuice.com on 11 Nov 2011 at 2:15