Just an update in case others run into the same problem:
I POSTed the query instead of GETing it and it runs ok.

Maxime.

On 22 abr, 09:52, Maxime <[email protected]> wrote:
> Hi,
>
> Thanks for your answer Jody, I will try to shorten the URL to check,
> but I thought that URL max length was a kind of "standard" so if it
> works in the dev environment it should work in live environment as
> well.
>
> Does anybody know about this limit ?
>
> Regards,
> Maxime.
>
> On 21 abr, 16:50, Jody Belka <[email protected]> wrote:
>
>
>
>
>
> > The first thought that comes to mind is the length of the url. Just looking
> > at the url it's very long, and iirc there's a limit to how long it can be.
> > Maybe you're hitting that limit?
>
> > On 21 April 2010 13:49, Maxime <[email protected]> wrote:
>
> > > Hi,
>
> > > I am facing an issue I don't understand when I deploy my app on google
> > > servers (it works fine when I run it on the local dev server):
>
> > > I get an invalid URL exception when I try to connect to theOpenCalais
> > > API, with a GET method in JAVA.
>
> > > This is the URL I am trying to connect to (URL encoded):
>
> > >http://api.opencalais.com/enlighten/rest/?licenseID=1234567890&params...
>
> > > if you copy/paste this URL in your browser it won't work as I changed
> > > my API-Key for a fake one, but if you use a valid API-Key you'll see
> > > that the URL is working, and moreover it works in my dev server as I
> > > said earlier.
>
> > > I saw in this forum that some people had troubles to fetch the paypal
> > > API and it seemed to be solved, is something similar happening in my
> > > case ?
>
> > > Thanks in advance,
> > > Maxime.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google App Engine" group.
> > > To post to this group, send email to [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-appengine%2Bunsubscrib
> > >  [email protected]>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to