Long URL produces empty response

Anthony Edwards's Avatar

Anthony Edwards

24 Jan, 2011 03:38 PM via web

I am using the /connections API call. My total URL length is 4096. When I perform my query, the response is empty - "". (I know the problem is not with my query: the query is automatically generated and has been working well up until now, however now I have given it a larger data set to process).

Why is my query so long? I am trying to find out what 734 various resources have in common.

I could use a trick of making my category name shorter (down from 10 characters), but what do I do when I am trying to find out what 7,000+ various resources have in common?

Looking on-line, I learned I can reduce my URL size by using POST instead of GET, however the /connections API documentation doesn't say it supports POST.

What do you suggest I do?

Thanks for your help.

  1. 2 Posted by Jared Peterson on 24 Jan, 2011 08:35 PM

    Jared Peterson's Avatar

    Anthony,

    We can fix this on your instance by updating a configuration file. I'm also logging a bug report so that we make sure that the default is increased in future builds/installs.

    Jared

  2. 3 Posted by Anthony Edwards on 28 Jan, 2011 06:19 PM

    Anthony Edwards's Avatar

    Correction - I do not believe the behavior has changed. I'm still observing an empty response. However, I have my program generate a remark whenever an empty response comes back. Here's what I'm seeing:

    getConnections (length: 21535) returned no response.
    getConnections (length: 16355) returned no response.
    getConnections (length: 16358) returned no response.
    getConnections (length: 16359) returned no response.
    getConnections (length: 16356) returned no response.
    getConnections (length: 16354) returned no response.
    getConnections (length: 16354) returned no response.
    getConnections (length: 16356) returned no response.
    getConnections (length: 16355) returned no response.

    Which suggests to me that you have bumped up the URL max length to 16,000, but I need more!

  3. 4 Posted by Jared Peterson on 28 Jan, 2011 08:53 PM

    Jared Peterson's Avatar

    Ok, let me know when your instance is running and we'll get it working.

  4. Jared Peterson closed this discussion on 28 Jan, 2011 08:53 PM.

Comments are currently closed for this discussion. You can start a new one.