ibrigadir / opendatakit

Automatically exported from code.google.com/p/opendatakit
0 stars 0 forks source link

Publish failure because of bad credential in GME #1014

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
From prab.raja@gmail.com

I have installed ODK aggregate on a server with Tomcat and Postgres. Everything 
works fine, only publishing to GME gives error.

I have setup OAuth for a google account and uploaded the same in ODK aggregate. 
Now I can publish to Fusion tables. Same google account is an admin for GME and 
created Vector table in GME using following KML file.

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" 
xmlns:atom="http://www.w3.org/2005/Atom" 
xmlns:gx="http://www.google.com/kml/ext/2.2" 
xmlns:kml="http://www.opengis.net/kml/2.2">
  <Document>
    <name>GME Geo Tagger</name>
    <Folder>
      <!-- Placemark is needed to build the data store -->
      <Placemark>
        <ExtendedData>
          <Data name="/data/meta/instanceId"/>
          <Data name="/data/meta/instanceName"/>
          <Data name="/data/geolocation"/>
          <Data name="/data/name"/>
        </ExtendedData>
        <!-- Replace with a polygon to set the zoom level -->
        <Point>
          <coordinates>0,0,0</coordinates>
        </Point>
      </Placemark>
    </Folder>
  </Document>
</kml>

When I try to publish the data using assert id of above created GME vector 
table, getting status as "Restart Publisher - Credential was BAD". I dont know 
what I am doing wrong here. Please help.

Original issue reported on code.google.com by yano...@nafundi.com on 5 Jun 2014 at 4:27

Attachments:

GoogleCodeExporter commented 9 years ago
Just to clarify that I am trying to publish with the same Google account as the 
Google account that created Aggregate's authentication tokens. Also the same 
Google account is one of "Map Editors" in GME. Our GME is set up using google 
groups and this google account is one of the admin. 

Let me know if you need any other information from me.

Original comment by prab.r...@gmail.com on 6 Jun 2014 at 5:20

GoogleCodeExporter commented 9 years ago
I have updated the documentation for setting up the publishing key to include 
adding GME as an enabled service. 

See Step 5 here: http://opendatakit.org/use/aggregate/oauth2-service-account/

Did you do that?

Original comment by mitchellsundt@gmail.com on 11 Jun 2014 at 8:07

GoogleCodeExporter commented 9 years ago
I have updated the documentation for setting up the publishing key to include 
adding GME as an enabled service. 

See Step 5 here: http://opendatakit.org/use/aggregate/oauth2-service-account/

Did you do that?

Original comment by mitchellsundt@gmail.com on 11 Jun 2014 at 8:08

GoogleCodeExporter commented 9 years ago
I did that too. Same result "Restart Publisher - Credential was BAD".

Original comment by prab.r...@gmail.com on 12 Jun 2014 at 7:35

GoogleCodeExporter commented 9 years ago
Yaw -- any idea what is going wrong with Google Map Engine?

Original comment by mitchellsundt@gmail.com on 8 Aug 2014 at 12:43

GoogleCodeExporter commented 9 years ago
No idea. I believe there are some API issues. Waylon would know best. 

Original comment by yano...@nafundi.com on 8 Aug 2014 at 1:08