Error code 400 - while publishing on ADK Aggregate

Hello

I am using ODK Aggregate 1.4.7 on Google Cloud Platform

I have enabled the following APIs (I didn't find the one that corresponds
to Google Map Engine on the new UI of the Google Cloud Platform):

API
Drive API
https://console.cloud.google.com/apis/api/drive/overview?project=mw-forms
https://console.cloud.google.com/apis/api/drive/drive_sdk?project=mw-forms
Fusion Tables API
https://console.cloud.google.com/apis/api/fusiontables/overview?project=mw-forms
Google Maps JavaScript API
https://console.cloud.google.com/apis/api/maps_backend/overview?project=mw-forms
Then, through the API Manager, I first create a Service Account using the
option Permission > Service Accounts > Create Service Account. I gave it a
name that also works as the prefix of the Service Account ID, and by
selecting the option "Furnish a new private key" I could also download the
public / private key pair using the P12 format. After that, I got an email
address with the form @.iam.gserviceaccount.com and
a its numeric Key ID.

Finally by selecting API Manager > Credentials > Create credentials > API
Key, I could generate the Browser API Key.

To enter the credentials into ODK Aggregate I:

  1. Used the Browser API Key as the Simple API Key
  2. Used the downloaded public / private P12 key file as the Private key file
  3. Used the numeric Key ID as the Client ID
  4. Used the @.iam.gserviceaccount.com as the Email
    address

As the new UI of Google Cloud Platform differs from whats is mentioned in
the instructions
(https://opendatakit.org/use/aggregate/oauth2-service-account/), I am
afraid I am doing something wrong as I am getting the following error
message:

Error: RequestFailureException
(com.google.api.client.googleapis.json.GoogleJsonResponseException: 400
{
"code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to help@mobywise.com. Ownership can only be transferred to
another user in the same domain as the current owner."",
"reason" : "invalidSharingRequest"
} ],
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to help@mobywise.com. Ownership can only be transferred to
another user in the same domain as the current owner.""
})

Please, any guidance on the issue is very much appreciated.

Cordial best

··· -- Daniel

Thanks for the note on the documentation being out-of-date. I'll be
sweeping the documentation on AppEngine / Google configuration soon to
update it to reflect their current UI.

··· ============

From the error message, this is a limitation of the ownership-transfer that
Google allows. You probably need to specify a @gmail.com account when
publishing to Sheets or Fusion Tables.

i.e., it may not work for Google Apps Domains.

or perhaps you can log out of all your google accounts, log into your
Google Apps Domain account, then create the service keys and service
account under that apps domain account?

This was broken functionality on the Google's Apps platform 4+ years ago.

Not sure what the current status of this is (it is not something that ODK
can do anything about).

On Fri, Mar 18, 2016 at 3:26 AM, Mobywise Help help@mobywise.com wrote:

Hello

I am using ODK Aggregate 1.4.7 on Google Cloud Platform

I have enabled the following APIs (I didn't find the one that corresponds
to Google Map Engine on the new UI of the Google Cloud Platform):

API
Drive API
https://console.cloud.google.com/apis/api/drive/overview?project=mw-forms

https://console.cloud.google.com/apis/api/drive/drive_sdk?project=mw-forms
Fusion Tables API
https://console.cloud.google.com/apis/api/fusiontables/overview?project=mw-forms
Google Maps JavaScript API
https://console.cloud.google.com/apis/api/maps_backend/overview?project=mw-forms
Then, through the API Manager, I first create a Service Account using the
option Permission > Service Accounts > Create Service Account. I gave it a
name that also works as the prefix of the Service Account ID, and by
selecting the option "Furnish a new private key" I could also download the
public / private key pair using the P12 format. After that, I got an email
address with the form @.iam.gserviceaccount.com
and a its numeric Key ID.

Finally by selecting API Manager > Credentials > Create credentials > API
Key, I could generate the Browser API Key.

To enter the credentials into ODK Aggregate I:

  1. Used the Browser API Key as the Simple API Key
  2. Used the downloaded public / private P12 key file as the Private key
    file
  3. Used the numeric Key ID as the Client ID
  4. Used the @.iam.gserviceaccount.com as the Email
    address

As the new UI of Google Cloud Platform differs from whats is mentioned in
the instructions (
https://opendatakit.org/use/aggregate/oauth2-service-account/), I am
afraid I am doing something wrong as I am getting the following error
message:

Error: RequestFailureException
(com.google.api.client.googleapis.json.GoogleJsonResponseException: 400
{
"code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to help@mobywise.com. Ownership can only be transferred to
another user in the same domain as the current owner."",
"reason" : "invalidSharingRequest"
} ],
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to help@mobywise.com. Ownership can only be transferred to
another user in the same domain as the current owner.""
})

Please, any guidance on the issue is very much appreciated.

Cordial best

Daniel

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Hi Mitch,
I need heal. I have installed ODK Aggregate with Tomcat 6. When I try to upload a form i have his error:

Problem with JavaRosa Parsing Form: org.opendatakit.aggregate.exception.ODKIncompleteSubmissionData: org.javarosa.xform.parse.XFormParseException: XML Syntax Error at Line: 1, Column: 667!
La requête envoyée par le client était syntaxiquement incorrecte.

please help me to understand my problem

Did you find a solution to this we can publish to gmail accounts but not
google apps or google apps for education accounts either.

··· On Friday, March 18, 2016 at 8:26:20 PM UTC+10, Mobywise Help wrote: > > Hello > > I am using ODK Aggregate 1.4.7 on Google Cloud Platform > > I have enabled the following APIs (I didn't find the one that corresponds > to Google Map Engine on the new UI of the Google Cloud Platform): > > API > Drive API > > > > Fusion Tables API > > Google Maps JavaScript API > > Then, through the API Manager, I first create a Service Account using the > option Permission > Service Accounts > Create Service Account. I gave it a > name that also works as the prefix of the Service Account ID, and by > selecting the option "Furnish a new private key" I could also download the > public / private key pair using the P12 format. After that, I got an email > address with the form @.iam.gserviceaccount.com > and a its numeric Key ID. > > Finally by selecting API Manager > Credentials > Create credentials > API > Key, I could generate the Browser API Key. > > To enter the credentials into ODK Aggregate I: > > 1) Used the Browser API Key as the Simple API Key > 2) Used the downloaded public / private P12 key file as the Private key > file > 3) Used the numeric Key ID as the Client ID > 4) Used the @.iam.gserviceaccount.com as the Email > address > > As the new UI of Google Cloud Platform differs from whats is mentioned in > the instructions ( > https://opendatakit.org/use/aggregate/oauth2-service-account/), I am > afraid I am doing something wrong as I am getting the following error > message: > > > Error: RequestFailureException > (com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 > { > "code" : 400, > "errors" : [ { > "domain" : "global", > "message" : "Bad Request. User message: \"Sorry, cannot transfer > ownership to he...@mobywise.com . Ownership can only be > transferred to another user in the same domain as the current owner.\"", > "reason" : "invalidSharingRequest" > } ], > "message" : "Bad Request. User message: \"Sorry, cannot transfer > ownership to he...@mobywise.com . Ownership can only be > transferred to another user in the same domain as the current owner.\"" > }) > > > Please, any guidance on the issue is very much appreciated. > > Cordial best > -- > Daniel >

Do not reply to an existing message thread and ask an entirely different
question.

Always create a new e-mail thread.

If you used ODK Build, it is likely that the form is missing some critical
entries, like the set of choices in a selection list.

Download ODK Validate and see what errors it reports for the form.

··· On Wed, Mar 30, 2016 at 5:24 AM, wrote:

Hi Mitch,
I need heal. I have installed ODK Aggregate with Tomcat 6. When I try to
upload a form i have his error:

Problem with JavaRosa Parsing Form:
org.opendatakit.aggregate.exception.ODKIncompleteSubmissionData:
org.javarosa.xform.parse.XFormParseException: XML Syntax Error at Line: 1,
Column: 667!
La requête envoyée par le client était syntaxiquement incorrecte.

please help me to understand my problem

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Haven't tried it lately.

At a minimum, you would need to use your Apps Domain account when creating
your AppEngine project.

It is unclear whether the service account that we use will be constructed
such that it is associated with the apps domain, or if it remains a
gmail-linked service account (in which case it would fail to work).

If this does work, it is likely that you would then no longer be able to
share the publishers with ordinary gmail accounts (it would probably be an
either/or behavior).

··· On Mon, Jun 13, 2016 at 3:17 PM, Brendan Speet wrote:

Did you find a solution to this we can publish to gmail accounts but not
google apps or google apps for education accounts either.

On Friday, March 18, 2016 at 8:26:20 PM UTC+10, Mobywise Help wrote:

Hello

I am using ODK Aggregate 1.4.7 on Google Cloud Platform

I have enabled the following APIs (I didn't find the one that corresponds
to Google Map Engine on the new UI of the Google Cloud Platform):

API
Drive API
https://console.cloud.google.com/apis/api/drive/overview?project=mw-forms

https://console.cloud.google.com/apis/api/drive/drive_sdk?project=mw-forms
Fusion Tables API
https://console.cloud.google.com/apis/api/fusiontables/overview?project=mw-forms
Google Maps JavaScript API
https://console.cloud.google.com/apis/api/maps_backend/overview?project=mw-forms
Then, through the API Manager, I first create a Service Account using the
option Permission > Service Accounts > Create Service Account. I gave it a
name that also works as the prefix of the Service Account ID, and by
selecting the option "Furnish a new private key" I could also download the
public / private key pair using the P12 format. After that, I got an email
address with the form @.iam.gserviceaccount.com
and a its numeric Key ID.

Finally by selecting API Manager > Credentials > Create credentials > API
Key, I could generate the Browser API Key.

To enter the credentials into ODK Aggregate I:

  1. Used the Browser API Key as the Simple API Key
  2. Used the downloaded public / private P12 key file as the Private key
    file
  3. Used the numeric Key ID as the Client ID
  4. Used the @.iam.gserviceaccount.com as the
    Email address

As the new UI of Google Cloud Platform differs from whats is mentioned in
the instructions (
https://opendatakit.org/use/aggregate/oauth2-service-account/), I am
afraid I am doing something wrong as I am getting the following error
message:

Error: RequestFailureException
(com.google.api.client.googleapis.json.GoogleJsonResponseException: 400
{
"code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to he...@mobywise.com. Ownership can only be transferred to
another user in the same domain as the current owner."",
"reason" : "invalidSharingRequest"
} ],
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to he...@mobywise.com. Ownership can only be transferred to
another user in the same domain as the current owner.""
})

Please, any guidance on the issue is very much appreciated.

Cordial best

Daniel

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

I'm currently having the same trouble and have created the service keys and
and service account under the google apps domain account. No luck yet.
Mobywise, did you ever find a solution?

I'll repost if I come up with anything.

Thanks,

Oliver

··· On Friday, March 18, 2016 at 6:05:33 PM UTC, Mitch Sundt wrote: > > Thanks for the note on the documentation being out-of-date. I'll be > sweeping the documentation on AppEngine / Google configuration soon to > update it to reflect their current UI. > > ============ > > From the error message, this is a limitation of the ownership-transfer > that Google allows. You probably need to specify a @gmail.com account > when publishing to Sheets or Fusion Tables. > > i.e., it may not work for Google Apps Domains. > > or perhaps you can log out of all your google accounts, log into your > Google Apps Domain account, then create the service keys and service > account under that apps domain account? > > This was broken functionality on the Google's Apps platform 4+ years ago. > > Not sure what the current status of this is (it is not something that ODK > can do anything about). > > > > > On Fri, Mar 18, 2016 at 3:26 AM, Mobywise Help <he...@mobywise.com > wrote: > >> Hello >> >> I am using ODK Aggregate 1.4.7 on Google Cloud Platform >> >> I have enabled the following APIs (I didn't find the one that corresponds >> to Google Map Engine on the new UI of the Google Cloud Platform): >> >> API >> Drive API >> >> >> >> Fusion Tables API >> >> Google Maps JavaScript API >> >> Then, through the API Manager, I first create a Service Account using the >> option Permission > Service Accounts > Create Service Account. I gave it a >> name that also works as the prefix of the Service Account ID, and by >> selecting the option "Furnish a new private key" I could also download the >> public / private key pair using the P12 format. After that, I got an email >> address with the form @.iam.gserviceaccount.com >> and a its numeric Key ID. >> >> Finally by selecting API Manager > Credentials > Create credentials > API >> Key, I could generate the Browser API Key. >> >> To enter the credentials into ODK Aggregate I: >> >> 1) Used the Browser API Key as the Simple API Key >> 2) Used the downloaded public / private P12 key file as the Private key >> file >> 3) Used the numeric Key ID as the Client ID >> 4) Used the @.iam.gserviceaccount.com as the >> Email address >> >> As the new UI of Google Cloud Platform differs from whats is mentioned in >> the instructions ( >> https://opendatakit.org/use/aggregate/oauth2-service-account/), I am >> afraid I am doing something wrong as I am getting the following error >> message: >> >> >> Error: RequestFailureException >> (com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 >> { >> "code" : 400, >> "errors" : [ { >> "domain" : "global", >> "message" : "Bad Request. User message: \"Sorry, cannot transfer >> ownership to he...@mobywise.com . Ownership can only be >> transferred to another user in the same domain as the current owner.\"", >> "reason" : "invalidSharingRequest" >> } ], >> "message" : "Bad Request. User message: \"Sorry, cannot transfer >> ownership to he...@mobywise.com . Ownership can only be >> transferred to another user in the same domain as the current owner.\"" >> }) >> >> >> Please, any guidance on the issue is very much appreciated. >> >> Cordial best >> -- >> Daniel >> >> -- >> -- >> Post: opend...@googlegroups.com >> Unsubscribe: opendatakit...@googlegroups.com >> Options: http://groups.google.com/group/opendatakit?hl=en >> >> --- >> You received this message because you are subscribed to the Google Groups >> "ODK Community" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to opendatakit...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Mitch Sundt > Software Engineer > University of Washington > mitche...@gmail.com >

Oliver,

Are you still having this problem? What have you tried so far?

Yaw

··· On Mon, Mar 13, 2017 at 2:09 PM, Oliver Burdekin <oliverburdekin@burdgis.com wrote:

I'm currently having the same trouble and have created the service keys
and and service account under the google apps domain account. No luck yet.
Mobywise, did you ever find a solution?

I'll repost if I come up with anything.

Thanks,

Oliver

On Friday, March 18, 2016 at 6:05:33 PM UTC, Mitch Sundt wrote:

Thanks for the note on the documentation being out-of-date. I'll be
sweeping the documentation on AppEngine / Google configuration soon to
update it to reflect their current UI.

============

From the error message, this is a limitation of the ownership-transfer
that Google allows. You probably need to specify a @gmail.com account
when publishing to Sheets or Fusion Tables.

i.e., it may not work for Google Apps Domains.

or perhaps you can log out of all your google accounts, log into your
Google Apps Domain account, then create the service keys and service
account under that apps domain account?

This was broken functionality on the Google's Apps platform 4+ years ago.

Not sure what the current status of this is (it is not something that ODK
can do anything about).

On Fri, Mar 18, 2016 at 3:26 AM, Mobywise Help he...@mobywise.com wrote:

Hello

I am using ODK Aggregate 1.4.7 on Google Cloud Platform

I have enabled the following APIs (I didn't find the one that
corresponds to Google Map Engine on the new UI of the Google Cloud
Platform):

API
Drive API
https://console.cloud.google.com/apis/api/drive/overview?project=mw-forms

https://console.cloud.google.com/apis/api/drive/drive_sdk?project=mw-forms
Fusion Tables API
https://console.cloud.google.com/apis/api/fusiontables/overview?project=mw-forms
Google Maps JavaScript API
https://console.cloud.google.com/apis/api/maps_backend/overview?project=mw-forms
Then, through the API Manager, I first create a Service Account using
the option Permission > Service Accounts > Create Service Account. I gave
it a name that also works as the prefix of the Service Account ID, and by
selecting the option "Furnish a new private key" I could also download the
public / private key pair using the P12 format. After that, I got an email
address with the form @.iam.gserviceaccount.com
and a its numeric Key ID.

Finally by selecting API Manager > Credentials > Create credentials >
API Key, I could generate the Browser API Key.

To enter the credentials into ODK Aggregate I:

  1. Used the Browser API Key as the Simple API Key
  2. Used the downloaded public / private P12 key file as the Private key
    file
  3. Used the numeric Key ID as the Client ID
  4. Used the @.iam.gserviceaccount.com as the
    Email address

As the new UI of Google Cloud Platform differs from whats is mentioned
in the instructions (https://opendatakit.org/use/a
ggregate/oauth2-service-account/), I am afraid I am doing something
wrong as I am getting the following error message:

Error: RequestFailureException (com.google.api.client.googlea
pis.json.GoogleJsonResponseException: 400
{
"code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to he...@mobywise.com. Ownership can only be transferred to
another user in the same domain as the current owner."",
"reason" : "invalidSharingRequest"
} ],
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to he...@mobywise.com. Ownership can only be transferred to
another user in the same domain as the current owner.""
})

Please, any guidance on the issue is very much appreciated.

Cordial best

Daniel

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi yaw. Yes it's still persisting. I've written a full account of what I've
tried on another thread so will dig that out and post the link here when I
get back to my laptop.

Mitch says it's a problem on Googles side that he's come across before 4+
years ago that hasn't changed.

Ultimately I think it's because I have a Google app domain (
email@mydomain.com) rather than a straight Gmail.com account.

Cheers,

Oliver

··· Sent from my mobile device. Please forgive short replies and / or typos.

On 19 Mar 2017 16:19, "Yaw Anokwa" yanokwa@nafundi.com wrote:

Oliver,

Are you still having this problem? What have you tried so far?

Yaw

On Mon, Mar 13, 2017 at 2:09 PM, Oliver Burdekin < oliverburdekin@burdgis.com> wrote:

I'm currently having the same trouble and have created the service keys
and and service account under the google apps domain account. No luck yet.
Mobywise, did you ever find a solution?

I'll repost if I come up with anything.

Thanks,

Oliver

On Friday, March 18, 2016 at 6:05:33 PM UTC, Mitch Sundt wrote:

Thanks for the note on the documentation being out-of-date. I'll be
sweeping the documentation on AppEngine / Google configuration soon to
update it to reflect their current UI.

============

From the error message, this is a limitation of the ownership-transfer
that Google allows. You probably need to specify a @gmail.com account
when publishing to Sheets or Fusion Tables.

i.e., it may not work for Google Apps Domains.

or perhaps you can log out of all your google accounts, log into your
Google Apps Domain account, then create the service keys and service
account under that apps domain account?

This was broken functionality on the Google's Apps platform 4+ years ago.

Not sure what the current status of this is (it is not something that
ODK can do anything about).

On Fri, Mar 18, 2016 at 3:26 AM, Mobywise Help he...@mobywise.com wrote:

Hello

I am using ODK Aggregate 1.4.7 on Google Cloud Platform

I have enabled the following APIs (I didn't find the one that
corresponds to Google Map Engine on the new UI of the Google Cloud
Platform):

API
Drive API
https://console.cloud.google.com/apis/api/drive/overview?project=mw-forms

https://console.cloud.google.com/apis/api/drive/drive_sdk?project=mw-forms
Fusion Tables API
https://console.cloud.google.com/apis/api/fusiontables/overview?project=mw-forms
Google Maps JavaScript API
https://console.cloud.google.com/apis/api/maps_backend/overview?project=mw-forms
Then, through the API Manager, I first create a Service Account using
the option Permission > Service Accounts > Create Service Account. I gave
it a name that also works as the prefix of the Service Account ID, and by
selecting the option "Furnish a new private key" I could also download the
public / private key pair using the P12 format. After that, I got an email
address with the form @.iam.gserviceaccount.com
and a its numeric Key ID.

Finally by selecting API Manager > Credentials > Create credentials >
API Key, I could generate the Browser API Key.

To enter the credentials into ODK Aggregate I:

  1. Used the Browser API Key as the Simple API Key
  2. Used the downloaded public / private P12 key file as the Private key
    file
  3. Used the numeric Key ID as the Client ID
  4. Used the @.iam.gserviceaccount.com as the
    Email address

As the new UI of Google Cloud Platform differs from whats is mentioned
in the instructions (https://opendatakit.org/use/a
ggregate/oauth2-service-account/), I am afraid I am doing something
wrong as I am getting the following error message:

Error: RequestFailureException (com.google.api.client.googlea
pis.json.GoogleJsonResponseException: 400
{
"code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to he...@mobywise.com. Ownership can only be transferred to
another user in the same domain as the current owner."",
"reason" : "invalidSharingRequest"
} ],
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to he...@mobywise.com. Ownership can only be transferred to
another user in the same domain as the current owner.""
})

Please, any guidance on the issue is very much appreciated.

Cordial best

Daniel

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/opendatakit/BhMDOQb04Uk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi Oliver,

No need to send out a link. I now remember the thread and yes, I agree it's
a Google Apps issue.

Yaw

··· On Sun, Mar 19, 2017 at 1:37 PM, Oliver Burdekin <oliverburdekin@burdgis.com wrote:

Hi yaw. Yes it's still persisting. I've written a full account of what
I've tried on another thread so will dig that out and post the link here
when I get back to my laptop.

Mitch says it's a problem on Googles side that he's come across before 4+
years ago that hasn't changed.

Ultimately I think it's because I have a Google app domain (
email@mydomain.com) rather than a straight Gmail.com account.

Cheers,

Oliver

Sent from my mobile device. Please forgive short replies and / or typos.

On 19 Mar 2017 16:19, "Yaw Anokwa" yanokwa@nafundi.com wrote:

Oliver,

Are you still having this problem? What have you tried so far?

Yaw

On Mon, Mar 13, 2017 at 2:09 PM, Oliver Burdekin < oliverburdekin@burdgis.com> wrote:

I'm currently having the same trouble and have created the service keys
and and service account under the google apps domain account. No luck yet.
Mobywise, did you ever find a solution?

I'll repost if I come up with anything.

Thanks,

Oliver

On Friday, March 18, 2016 at 6:05:33 PM UTC, Mitch Sundt wrote:

Thanks for the note on the documentation being out-of-date. I'll be
sweeping the documentation on AppEngine / Google configuration soon to
update it to reflect their current UI.

============

From the error message, this is a limitation of the ownership-transfer
that Google allows. You probably need to specify a @gmail.com account
when publishing to Sheets or Fusion Tables.

i.e., it may not work for Google Apps Domains.

or perhaps you can log out of all your google accounts, log into your
Google Apps Domain account, then create the service keys and service
account under that apps domain account?

This was broken functionality on the Google's Apps platform 4+ years
ago.

Not sure what the current status of this is (it is not something that
ODK can do anything about).

On Fri, Mar 18, 2016 at 3:26 AM, Mobywise Help he...@mobywise.com wrote:

Hello

I am using ODK Aggregate 1.4.7 on Google Cloud Platform

I have enabled the following APIs (I didn't find the one that
corresponds to Google Map Engine on the new UI of the Google Cloud
Platform):

API
Drive API
https://console.cloud.google.com/apis/api/drive/overview?project=mw-forms

https://console.cloud.google.com/apis/api/drive/drive_sdk?project=mw-forms
Fusion Tables API
https://console.cloud.google.com/apis/api/fusiontables/overview?project=mw-forms
Google Maps JavaScript API
https://console.cloud.google.com/apis/api/maps_backend/overview?project=mw-forms
Then, through the API Manager, I first create a Service Account using
the option Permission > Service Accounts > Create Service Account. I gave
it a name that also works as the prefix of the Service Account ID, and by
selecting the option "Furnish a new private key" I could also download the
public / private key pair using the P12 format. After that, I got an email
address with the form @.iam.gserviceaccount.com
and a its numeric Key ID.

Finally by selecting API Manager > Credentials > Create credentials >
API Key, I could generate the Browser API Key.

To enter the credentials into ODK Aggregate I:

  1. Used the Browser API Key as the Simple API Key
  2. Used the downloaded public / private P12 key file as the Private
    key file
  3. Used the numeric Key ID as the Client ID
  4. Used the @.iam.gserviceaccount.com as the
    Email address

As the new UI of Google Cloud Platform differs from whats is mentioned
in the instructions (https://opendatakit.org/use/a
ggregate/oauth2-service-account/), I am afraid I am doing something
wrong as I am getting the following error message:

Error: RequestFailureException (com.google.api.client.googlea
pis.json.GoogleJsonResponseException: 400
{
"code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to he...@mobywise.com. Ownership can only be transferred to
another user in the same domain as the current owner."",
"reason" : "invalidSharingRequest"
} ],
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to he...@mobywise.com. Ownership can only be transferred to
another user in the same domain as the current owner.""
})

Please, any guidance on the issue is very much appreciated.

Cordial best

Daniel

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/to
pic/opendatakit/BhMDOQb04Uk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Okay thanks for looking into it Yaw. I'm more familiar with AWS so I think
I'll set up briefcase on there to export to S3 and go from there. The
project is running already so I'm loathe to change the aggregate set up now.

··· Sent from my mobile device. Please forgive short replies and / or typos.

On 19 Mar 2017 17:50, "Yaw Anokwa" yanokwa@nafundi.com wrote:

Hi Oliver,

No need to send out a link. I now remember the thread and yes, I agree
it's a Google Apps issue.

Yaw

On Sun, Mar 19, 2017 at 1:37 PM, Oliver Burdekin < oliverburdekin@burdgis.com> wrote:

Hi yaw. Yes it's still persisting. I've written a full account of what
I've tried on another thread so will dig that out and post the link here
when I get back to my laptop.

Mitch says it's a problem on Googles side that he's come across before 4+
years ago that hasn't changed.

Ultimately I think it's because I have a Google app domain (
email@mydomain.com) rather than a straight Gmail.com account.

Cheers,

Oliver

Sent from my mobile device. Please forgive short replies and / or typos.

On 19 Mar 2017 16:19, "Yaw Anokwa" yanokwa@nafundi.com wrote:

Oliver,

Are you still having this problem? What have you tried so far?

Yaw

On Mon, Mar 13, 2017 at 2:09 PM, Oliver Burdekin < oliverburdekin@burdgis.com> wrote:

I'm currently having the same trouble and have created the service keys
and and service account under the google apps domain account. No luck yet.
Mobywise, did you ever find a solution?

I'll repost if I come up with anything.

Thanks,

Oliver

On Friday, March 18, 2016 at 6:05:33 PM UTC, Mitch Sundt wrote:

Thanks for the note on the documentation being out-of-date. I'll be
sweeping the documentation on AppEngine / Google configuration soon to
update it to reflect their current UI.

============

From the error message, this is a limitation of the ownership-transfer
that Google allows. You probably need to specify a @gmail.com account
when publishing to Sheets or Fusion Tables.

i.e., it may not work for Google Apps Domains.

or perhaps you can log out of all your google accounts, log into your
Google Apps Domain account, then create the service keys and service
account under that apps domain account?

This was broken functionality on the Google's Apps platform 4+ years
ago.

Not sure what the current status of this is (it is not something that
ODK can do anything about).

On Fri, Mar 18, 2016 at 3:26 AM, Mobywise Help he...@mobywise.com wrote:

Hello

I am using ODK Aggregate 1.4.7 on Google Cloud Platform

I have enabled the following APIs (I didn't find the one that
corresponds to Google Map Engine on the new UI of the Google Cloud
Platform):

API
Drive API
https://console.cloud.google.com/apis/api/drive/overview?project=mw-forms

https://console.cloud.google.com/apis/api/drive/drive_sdk?project=mw-forms
Fusion Tables API
https://console.cloud.google.com/apis/api/fusiontables/overview?project=mw-forms
Google Maps JavaScript API
https://console.cloud.google.com/apis/api/maps_backend/overview?project=mw-forms
Then, through the API Manager, I first create a Service Account using
the option Permission > Service Accounts > Create Service Account. I gave
it a name that also works as the prefix of the Service Account ID, and by
selecting the option "Furnish a new private key" I could also download the
public / private key pair using the P12 format. After that, I got an email
address with the form @.iam.g
serviceaccount.com and a its numeric Key ID.

Finally by selecting API Manager > Credentials > Create credentials >
API Key, I could generate the Browser API Key.

To enter the credentials into ODK Aggregate I:

  1. Used the Browser API Key as the Simple API Key
  2. Used the downloaded public / private P12 key file as the Private
    key file
  3. Used the numeric Key ID as the Client ID
  4. Used the @.iam.gserviceaccount.com as the
    Email address

As the new UI of Google Cloud Platform differs from whats is
mentioned in the instructions (https://opendatakit.org/use/a
ggregate/oauth2-service-account/), I am afraid I am doing something
wrong as I am getting the following error message:

Error: RequestFailureException (com.google.api.client.googlea
pis.json.GoogleJsonResponseException: 400
{
"code" : 400,
"errors" : [ {
"domain" : "global",
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to he...@mobywise.com. Ownership can only be transferred
to another user in the same domain as the current owner."",
"reason" : "invalidSharingRequest"
} ],
"message" : "Bad Request. User message: "Sorry, cannot transfer
ownership to he...@mobywise.com. Ownership can only be transferred
to another user in the same domain as the current owner.""
})

Please, any guidance on the issue is very much appreciated.

Cordial best

Daniel

--

Post: opend...@googlegroups.com
Unsubscribe: opendatakit...@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitche...@gmail.com

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google
Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/to
pic/opendatakit/BhMDOQb04Uk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--

Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en


You received this message because you are subscribed to a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/
topic/opendatakit/BhMDOQb04Uk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.