Troubleshooting API request

22 views
Skip to first unread message

Dan

unread,
May 8, 2009, 9:51:49 AM5/8/09
to ubervu-dev
I've noticed several issues regarding the API requests:

1) Please make sure you are using the apikey parameter and not api_key
or any other format:

http://api.ubervu.com/1.0/resources/?api_key=123456 is wrong

http://api.ubervu.com/1.0/resources/?apikey=123456 is the right way

2) Please use the endpoints exactly as they are presented in the API.
Some of the problems are caused by not including the trailing slash at
the end of the endpoint:

http://api.ubervu.com/1.0/resources is wrong

http://api.ubervu.com/1.0/resources/ is the right way

3) The endpoint for posting an URL into the system is
http://api.ubervu.com/1.0/resources/?apikey=123456
The 'url' parameter must be sent through the POST method.

4) The same for posting batch resources: the endpoint is
http://api.ubervu.com/1.0/resources/batch/?apikey=123456
The 'urls' parameter must be sent through the POST method.

If you are still having issues, send me a e-mail at d...@ubervu.com

Best regards,
Dan

DaveK

unread,
May 15, 2009, 12:00:39 PM5/15/09
to ubervu-dev
I'm getting the response: <error code="1003" message="Resource not
found" />

for every request, is there a problem with the api at the moment?


On May 8, 2:51 pm, Dan <dan.ci...@gmail.com> wrote:
> I've noticed several issues regarding the API requests:
>
> 1) Please make sure you are using the apikey parameter and not api_key
> or any other format:
>
> http://api.ubervu.com/1.0/resources/?api_key=123456is wrong
>
> http://api.ubervu.com/1.0/resources/?apikey=123456is the right way
>
> 2) Please use the endpoints exactly as they are presented in the API.
> Some of the problems are caused by not including the trailing slash at
> the end of the endpoint:
>
> http://api.ubervu.com/1.0/resourcesis wrong
>
> http://api.ubervu.com/1.0/resources/is the right way
>
> 3) The endpoint for posting an URL into the system ishttp://api.ubervu.com/1.0/resources/?apikey=123456
> The 'url' parameter must be sent through the POST method.
>
> 4) The same for posting batch resources: the endpoint ishttp://api.ubervu.com/1.0/resources/batch/?apikey=123456

Vladimir Oane

unread,
May 15, 2009, 1:18:03 PM5/15/09
to uberv...@googlegroups.com
We are looking into it. I suppose you first added the resource you are trying to track right?

Best,

Vladimir OANE
CoFounder
....................................................
uberVU Ltd
+44 753 21 50 976 (UK)
+40 741 24 24 02   (RO)
http://www.vladimiroane.com
http://www.linkedin.com/in/vladimiroane
www.uberVU.com
....................................................

DaveK

unread,
Jun 1, 2009, 7:34:24 AM6/1/09
to ubervu-dev
OK, I've got it working fine now.

I've almost done building a php API wrapper, I'll post a message when
it's released.

On May 15, 6:18 pm, Vladimir Oane <vladimir.o...@gmail.com> wrote:
> We are looking into it. I suppose you first added the resource you are
> trying to track right?
>
> Best,
>
> Vladimir OANE
> CoFounder
> ....................................................
> uberVU Ltd
> +44 753 21 50 976 (UK)
> +40 741 24 24 02   (RO)http://www.vladimiroane.comhttp://www.linkedin.com/in/vladimiroanewww.uberVU.com
> ....................................................
>
> On Fri, May 15, 2009 at 5:00 PM, DaveK <kinsella.d...@googlemail.com> wrote:
>
> > I'm getting the response: <error code="1003" message="Resource not
> > found" />
>
> > for every request, is there a problem with the api at the moment?
>
> > On May 8, 2:51 pm, Dan <dan.ci...@gmail.com> wrote:
> > > I've noticed several issues regarding the API requests:
>
> > > 1) Please make sure you are using the apikey parameter and not api_key
> > > or any other format:
>
> > >http://api.ubervu.com/1.0/resources/?api_key=123456iswrong
>
> > >http://api.ubervu.com/1.0/resources/?apikey=123456isthe right way
>
> > > 2) Please use the endpoints exactly as they are presented in the API.
> > > Some of the problems are caused by not including the trailing slash at
> > > the end of the endpoint:
>
> > >http://api.ubervu.com/1.0/resourcesiswrong
>
> > >http://api.ubervu.com/1.0/resources/isthe right way

Vladimir Oane

unread,
Jun 1, 2009, 7:36:11 AM6/1/09
to uberv...@googlegroups.com
So freakin' cool. Let us know to announce it and promote it. We used to be PHP developers but we switched to Python.

DaveK

unread,
Jun 1, 2009, 8:03:26 PM6/1/09
to ubervu-dev
I'm still getting strange behaviour from the 'resources/batch' method,
I get a 'Could not add this url' message for everything I try.

apart from that, all going swimmingly, take a look:
http://dev.webdeveloper2.com/ubervu/index.php



On Jun 1, 12:36 pm, Vladimir Oane <vladimir.o...@gmail.com> wrote:
> So freakin' cool. Let us know to announce it and promote it. We used to be
> PHP developers but we switched to Python.
>
> > > > >http://api.ubervu.com/1.0/resources/?apikey=123456istheright way
>
> > > > > 2) Please use the endpoints exactly as they are presented in the API.
> > > > > Some of the problems are caused by not including the trailing slash
> > at
> > > > > the end of the endpoint:
>
> > > > >http://api.ubervu.com/1.0/resourcesiswrong
>
> > > > >http://api.ubervu.com/1.0/resources/istheright way

Bogdan Sandulescu

unread,
Jun 2, 2009, 3:36:41 AM6/2/09
to uberv...@googlegroups.com
Hi Dave,

We are looking into it today and will come back with a reply later today. Really cool and simple interface. Love it :)

Bogdan Sandulescu

unread,
Jun 2, 2009, 11:04:32 AM6/2/09
to uberv...@googlegroups.com
Hey Dave,

Try it now. It should work fine. Thanks for letting us know of this issue.
--
Thanks,
Bogdan

DaveK

unread,
Jun 2, 2009, 12:56:31 PM6/2/09
to ubervu-dev
Looking better, although oddly I get the following for http://www.ubervu.com

"The resource is in our system but was not crawled yet"

Shurely Shome Mishtake? as Sean Connery might put it.

Awesome job you're doing guys - I'm already thinking I might need to
build a .Net library too for a specific project

On Jun 2, 4:04 pm, Bogdan Sandulescu <bogdan...@gmail.com> wrote:
> Hey Dave,
>
> Try it now. It should work fine. Thanks for letting us know of this issue.
>
> On Tue, Jun 2, 2009 at 10:36 AM, Bogdan Sandulescu <bogdan...@gmail.com>wrote:
>
>
>
> > Hi Dave,
>
> > We are looking into it today and will come back with a reply later today.
> > Really cool and simple interface. Love it :)
>

Bogdan Sandulescu

unread,
Jun 2, 2009, 2:10:12 PM6/2/09
to uberv...@googlegroups.com
Hey Dave,

Will look into that too. The batch post does not follow redirects and that's why you will receive that specific message for http://www.ubervu.com (after redirects the url is http://www.ubervu.com/). There is a trade off when you use the batch post (not following redirects) compared to using the standard POST /resources/. But I agree it's confusing and I will try to find a way to make it better.
--
Thanks,
Bogdan

kilkul

unread,
Jun 13, 2009, 3:47:31 PM6/13/09
to contextvoice-dev

Hey guys,

I get quite often the "504 Gateway Timeout" error message, either when
trying to post a new URL to your indexing service, or when trying to
get the conversations for a specific URL. Is there any reason (that's
up to you)?


On May 8, 2:51 pm, Dan <dan.ci...@gmail.com> wrote:
> I've noticed several issues regarding the API requests:
>
> 1) Please make sure you are using the apikey parameter and not api_key
> or any other format:
>
> http://api.ubervu.com/1.0/resources/?api_key=123456is wrong
>
> http://api.ubervu.com/1.0/resources/?apikey=123456is the right way
>
> 2) Please use the endpoints exactly as they are presented in the API.
> Some of the problems are caused by not including the trailing slash at
> the end of the endpoint:
>
> http://api.ubervu.com/1.0/resourcesis wrong
>
> http://api.ubervu.com/1.0/resources/is the right way
>
> 3) The endpoint for posting an URL into the system ishttp://api.ubervu.com/1.0/resources/?apikey=123456
> The 'url' parameter must be sent through the POST method.
>
> 4) The same for posting batch resources: the endpoint ishttp://api.ubervu.com/1.0/resources/batch/?apikey=123456

Dan

unread,
Jun 15, 2009, 7:59:46 AM6/15/09
to contextvoice-dev
Hi,

We're studying this issue right now.

I'll be back with more details in a couple of days.

Dan

On Jun 13, 10:47 pm, kilkul <kil...@gmail.com> wrote:
> Hey guys,
>
> I get quite often the "504 Gateway Timeout" error message, either when
> trying to post a new URL to your indexing service, or when trying to
> get the conversations for a specific URL. Is there any reason (that's
> up to you)?
>
> On May 8, 2:51 pm, Dan <dan.ci...@gmail.com> wrote:
>
> > I've noticed several issues regarding the API requests:
>
> > 1) Please make sure you are using the apikey parameter and not api_key
> > or any other format:
>
> >http://api.ubervu.com/1.0/resources/?api_key=123456iswrong
>
> >http://api.ubervu.com/1.0/resources/?apikey=123456isthe right way
>
> > 2) Please use the endpoints exactly as they are presented in the API.
> > Some of the problems are caused by not including the trailing slash at
> > the end of the endpoint:
>
> >http://api.ubervu.com/1.0/resourcesiswrong
>
> >http://api.ubervu.com/1.0/resources/isthe right way
Reply all
Reply to author
Forward
0 new messages