Issue with Provisioning API

41 views
Skip to first unread message

Brian Mcnamara

unread,
Jul 26, 2011, 12:40:25 PM7/26/11
to google-app...@googlegroups.com
We have an application that will provision users in Google Apps.  Today we're seeing repeated failures 

[ERROR] [ Tue Jul 26 11:31:25 EDT 2011 ] [org.apache.jsp.ManageAccount_jsp] Exception Caught in Cust Manage account script: com.google.gdata.util.ServiceForbiddenException: You must agree to the Google Apps Terms of Service before using this API.

Has anyone else seen a similar exception?  Is there something new in the API that would cause this exception to be thrown?  The Provisioning API is enabled on the Google Apps domain.  I'm working with the development team to provide the actual code.

Regards,
Brian

Claudio Cherubino

unread,
Jul 26, 2011, 12:52:16 PM7/26/11
to google-app...@googlegroups.com
Hi Brian,

As reported in the error message, "You must agree to the Google Apps Terms of Service before using this API". 
This means that the administrator user that is being used to send the requests has never logged into Gmail and agreed to the terms of service.
Please go to mail.google.com/a/YOURDOMAIN and use the username and password of that user to login.
You'll be then ready to use the API.

Claudio


--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/2Se6LraUBJQJ.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Brian Mcnamara

unread,
Jul 26, 2011, 12:57:01 PM7/26/11
to google-app...@googlegroups.com
Hi Claudio,

Thanks for the quick response.

As it turns out the service account was prompted to accept the TOS when logging in to the web UI.  Once we did the application behaved as expected.  

The service account already had accepted the TOS and the application itself was functioning properly for years.  What would cause an admin account to have to reaccept the TOS?  Could it be caused by a Google Apps domain being transitioned?

Regards,
Brian 

Claudio Cherubino

unread,
Jul 26, 2011, 12:58:47 PM7/26/11
to google-app...@googlegroups.com
Yes, when transitioning users to the new Google Accounts you have to agree to the Terms of Service.

Claudio


Regards,
Brian 

--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
Reply all
Reply to author
Forward
0 new messages