|Total screwup with install from vendor profile / OAUTH2||Koen Maes||5/13/12 12:39 PM|
I have a vendor profile in the Google Apps market place where I have my app defined that is under development.
I installed my app into two Google App domains. In one domain, I want to remove the app, but i always see this message :
An error occurred while trying to configure this application. Please try again later.
In the other Google apps domain I have no problem whatsoever.
Next, I had working code that stopped working, accessing the calendar using 2 legged OAUTH. It is in a Unit test so I am 100% sure it passed.
Calendar service = Calendar.builder(OAuth2Utils.HTTP_TRANSPORT, OAuth2Utils.JSON_FACTORY)
Now I see this response.
This despite I see this in my Google Apps domain ( the working one )
But wait, things CAN get worse. I go to my vendor profile and I click on "Register for additional APIs" in a desperate attempt to fix my problem. I get this thrown back :
Which - when clicked - results a new error
What a total utter MESS !!!!
|Re: Total screwup with install from vendor profile / OAUTH2||Steven Bazyl||5/16/12 1:34 PM|
Can you send me the app ID and the domain that is having the uninstall issue?
As for the actual API issue, from what you described it looks like at some point you inadvertently deleted the API project. That would explain why the API stopped working + why it kicks you into the undelete option.
Can you try going to the API console directly (https://code.google.com/apis/console/) and in the dropdown where you can switch projects, the last option should be "Undelete...". Click that and see if it lets you select & undelete the project or if it gives you the same error or not.
|Re: Total screwup with install from vendor profile / OAUTH2||Koen Maes||5/16/12 1:43 PM|
Thx for the followup.
Yes, I got the picture now too. I thought API console and Google Apps manifest / listing did not relate in any way.
The application Id that is in error has Application ID 648664752729 . There is no associated API Console project and the previously associated API Console project cannot be undeleted. I also raised a support ticket for our GAPPS domain with Google support because the app cannot be un-installed either. So it really messed, I guess.
Sorry but now that I have somebody to address my problems to :
I also see that the API console for a Google Apps installation is different from the normal API Console. For instance, I cannot create OAUTH keys which is understandable, because I can go for two legged OAUTH with my consumer key/secret. But the Google Drive SDK requires to first generate OAUTH key/secret and will not show in the Google Apps Api console. So I think that is an issue.
Other question I have : if I want to build a marketplace app that can at the same time be used by ordinary Google Accounts, then I will need two API Console projects, right ? One Google Apps API Console and one with OAUTH keys generated for the three legged dance ?
Chewing all this is most harder than the coding part....
|Re: Total screwup with install from vendor profile / OAUTH2||Koen Maes||5/16/12 2:11 PM|
damn, replied from e-mail and my signature followed with full disclosure of email.
|Re: Total screwup with install from vendor profile / OAUTH2||Steven Bazyl||5/16/12 3:50 PM|
They do when you're using the newer APIs since they require registration of the app for key management, quota, etc...
Odd that you can't undelete. Did you try undeleting from the console directly as previously asked?
Yep, we didn't make this as easy as it should be :(
|Re: Total screwup with install from vendor profile / OAUTH2||Koen Maes||5/16/12 3:57 PM|
No, I cannot undelete the project.
I found myself with 2 projects with the same name in the API console and I kinda merged them. So I guess I cannot undelete because of a name conflict (same name given to the other project).
Because of that merge, my code stopped worked, uninstalling the app returned errors and I lost a week of my life.
Luckily it is Ascension day tommorow, I am alive again :)
|Re: Total screwup with install from vendor profile / OAUTH2||Koen Maes||5/16/12 4:08 PM|
What about being unable to activate the Google Drive SDK in a Google Apps Api Console ?
"You must create an OAuth 2.0 client ID before configuring Google Drive SDK."
But you cannot do that in a Google Apps market API Console ?
|Re: Total screwup with install from vendor profile / OAUTH2||Steven Bazyl||5/16/12 4:26 PM|
Use the regular APIs console for Drive apps.
The implication, of course, is that you can't currently build a Drive app for the Apps Marketplace, do domain-wide installs, etc. Drive apps are only installable from the Chrome Web Store.