API docs.search broken!?

6 views
Skip to first unread message

dscott

unread,
Nov 5, 2009, 7:53:19 PM11/5/09
to Scribd Platform Talk
Help... it appears that the docs.search method is broken!

My docs.search, which has been working fine, is now returning
(regardless of the query):

<rsp stat="ok">
<result_set totalResultsAvailable="0" totalResultsReturned="0"
firstResultPosition="1" list="true">
</result_set>
</rsp>

...even though checking my account on Scribd shows that all my docs
are there just fine as they should be.

What's up with docs.search? Did something change with the method? When
do you expect it to be working again?

-Daryl

P.S. It seems that docs.getlist is still working ok... is it just
docs.search that is broken?

Mike Watts

unread,
Nov 5, 2009, 8:05:46 PM11/5/09
to scribd-platfo...@googlegroups.com
Thanks for the heads-up, we're looking into it.


--Watts
--
Mike Watts
mwa...@scribd.com

dscott

unread,
Nov 5, 2009, 8:13:55 PM11/5/09
to Scribd Platform Talk
Great... thanks!

dscott

unread,
Nov 5, 2009, 8:14:02 PM11/5/09
to Scribd Platform Talk
Great... thanks!


On Nov 5, 8:05 pm, Mike Watts <mwa...@scribd.com> wrote:

Mike Watts

unread,
Nov 5, 2009, 8:20:42 PM11/5/09
to scribd-platfo...@googlegroups.com
Daryl,

Looking further, it's actually working for me. Are you properly
setting the "scope" parameter? Can you send the URL you're using
(please remove your API key though).

Thanks,
--Watts
--
Mike Watts
mwa...@scribd.com

dscott

unread,
Nov 5, 2009, 8:26:57 PM11/5/09
to Scribd Platform Talk
Great... thanks!


On Nov 5, 8:05 pm, Mike Watts <mwa...@scribd.com> wrote:

dscott

unread,
Nov 5, 2009, 8:37:15 PM11/5/09
to Scribd Platform Talk
Hmmm... still not working on my end... My code has not changed and it
has worked fine up until now...

My URL looks basically like this:
http://api.scribd.com/api?api_key=MYKEY&method=docs.search&session_key=MYSESSIONKEY&query=MYQUERY&num_results=15&num_start=0

I'm allowing the scope parameter to stay at the default (user). I
actually tried setting it explicitly just now, but still no luck.

As I mentioned, substituting docs.getList as the method in the above
URL does still work ok, just not docs.search(?)

-Daryl

dscott

unread,
Nov 5, 2009, 8:37:20 PM11/5/09
to Scribd Platform Talk
Hmmm... still not working on my end... My code has not changed and it
has worked fine up until now...

My URL looks basically like this:
http://api.scribd.com/api?api_key=MYKEY&method=docs.search&session_key=MYSESSIONKEY&query=MYQUERY&num_results=15&num_start=0

I'm allowing the scope parameter to stay at the default (user). I
actually tried setting it explicitly just now, but still no luck.

As I mentioned, substituting docs.getList as the method in the above
URL does still work ok, just not docs.search(?)

-Daryl


dscott

unread,
Nov 5, 2009, 8:43:29 PM11/5/09
to Scribd Platform Talk
Hmmm... still not working on my end... My code has not changed and it
has worked fine up until now...

My URL looks basically like this:
http://api.scribd.com/api?api_key=MYKEY&method=docs.search&session_key=MYSESSIONKEY&query=MYQUERY&num_results=15&num_start=0

I'm allowing the scope parameter to stay at the default (user). I
actually tried setting it explicitly just now, but still no luck.

As I mentioned, substituting docs.getList as the method in the above
URL does still work ok, just not docs.search(?)

-Daryl


dscott

unread,
Nov 5, 2009, 8:49:11 PM11/5/09
to Scribd Platform Talk
Hmmm... still not working on my end... My code has not changed and it
has worked fine up until now...

My URL looks basically like this:
http://api.scribd.com/api?api_key=MYKEY&method=docs.search&session_key=MYSESSIONKEY&query=MYQUERY&num_results=15&num_start=0

I'm allowing the scope parameter to stay at the default (user). I
actually tried setting it explicitly just now, but still no luck.

As I mentioned, substituting docs.getList as the method in the above
URL does still work ok, just not docs.search(?)

-Daryl


dscott

unread,
Nov 5, 2009, 10:24:06 PM11/5/09
to Scribd Platform Talk
Any thoughts?

FYI, even if I try a simplified version of this directly in a browser,
I get no results returned:
http://api.scribd.com/api?api_key=MYAPIKEY&method=docs.search&session_key=VALIDSESSIONKEY&query=VALIDQUERY

Again, testing a substitution of docs.getList into the above does
return results (all of my docs), but using docs.search only returns:
<rsp stat="ok">
<result_set totalResultsAvailable="0" totalResultsReturned="0"
firstResultPosition="1" list="true">
</result_set>
</rsp>

This has now broken our app's doc search function, so needless to say
is very important for us to resolve to get it working again asap...

Thanks,
Daryl

P.S. Sorry for the accidental multiple replies in this thread...
apparently after you post, then each time you hit refresh it posts
again... doh.



On Nov 5, 8:49 pm, dscott <dsc...@attaain.com> wrote:
> Hmmm... still not working on my end... My code has not changed and it
> has worked fine up until now...
>
> My URL looks basically like this:http://api.scribd.com/api?api_key=MYKEY&method=docs.search&session_ke...
Reply all
Reply to author
Forward
0 new messages