Hello Etienne,

This is probably due to the fact that the main domain hasn't been
registered, or has been registered for another application which doesn't let
you use AuthSub.
Another alternative, which is also preferred, is to use OAuth instead of
AuthSub as the authorization mechanism:
http://code.google.com/apis/gdata/docs/auth/oauth.html

Best,
Alain

On Thu, Aug 25, 2011 at 8:50 AM, coachnono <[email protected]> wrote:

> HI,
>
> When I sent an authsub request, google says the url is not correct.
> I'm suspecting this is because I have a subdomain in my url.
>
> The url that sends the request is http://admin.domain.com/test.php
>
> In php, I put this line of code in the $next variable : 'http://'.
> $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
>
> When I echo it, it shows the proper url but google tells me this :
>
> The page you have requested cannot be displayed. Another site was
> requesting access to your Google Account, but sent a malformed
> request. Please contact the site that you were trying to use when you
> received this message to inform them of the error. A detailed error
> message follows:
>
>    The site "http://domain.com"; has not been registered.
>
> Where is my problem ?
>
> Thanks,
>
> Etienne NOEL
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Calendar Data API" 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://code.google.com/apis/calendar/community/forum.html
>



-- 
Alain Vongsouvanh

-- 
You received this message because you are subscribed to the Google
Groups "Google Calendar Data API" 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://code.google.com/apis/calendar/community/forum.html

Reply via email to