Hi Campbell,

There does appear to be an issue with authenticated requests at the
moment, related to a recent push. We are currently working on a fix.

Thanks,
Dan

On Mar 6, 7:29 am, Campbell <[email protected]> wrote:
> Hi,
>
> My gadget was working yesterday, but there seems to be a problem with
> it today. I haven't made any changes, but receive an error when I add
> AuthorizationType.SIGNED to a request. The request works if I don't
> add this type. Is there a problem with the sandbox at the moment? My
> colleague has tried it with a different bit of code, and it's the same
> problem.
>
> Thanks
>
> The error I get is:http://45.ig.sandbox.gmodules.com/gadgets/makeRequest
> 400 Bad Request
>
> My code is:
>                 function load() {
>                           var urlParams = gadgets.util.getUrlParameters
> ();
>                           var st = urlParams.st;
>                           var prefs = new gadgets.Prefs();
>                           // actual url not disclosed, but works fine
>                           var url = "xxx";
>                           var params = {};
>                           params
> [gadgets.io.RequestParameters.CONTENT_TYPE] =
> gadgets.io.ContentType.TEXT;
>                           params[gadgets.io.RequestParameters.METHOD]
> = gadgets.io.MethodType.GET;
>                           params
> [gadgets.io.RequestParameters.AUTHORIZATION] =
> gadgets.io.AuthorizationType.SIGNED;
>                           alert("added signed authorization");
>                           gadgets.io.makeRequest(url, callback,
> params);
>                 };
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" 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-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to