Unable to publish data from Aggregate to Google Sheets or Google Fusion Tables

When I try publishing, I get the following error in a popup dialog:

RequestFailureException (java.io.IOException: toDerInputStream rejects tag
type 123)

Any clue on what's going on?

Upgrade to the latest ODK Aggregate.

You have named one or more fields with names that begin with digits (e.g.,
123). These names are used as tags within XML. While the ODK tools are very
tolerant of illegal XML tag names (and names that begin with digits are
illegal), the Google tools are not so tolerant.

In newer ODK Aggregate releases, we prefix or otherwise correct these
illegal XML tags by, e.g., prefixing them with the character 'n'.

··· On Tue, Mar 31, 2015 at 12:20 AM, Chris Kiagiri wrote:

When I try publishing, I get the following error in a popup dialog:

RequestFailureException (java.io.IOException: toDerInputStream rejects tag
type 123)

Any clue on what's going on?

--

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'm having a similar problem.

I have just installed ODK Aggregate v1.4.5 Production and set up my OAuth2 and API credentials, but I am also getting the following error when I try to publish to both spreadsheets and Fusion tables.

Error: RequestFailureException (java.io.IOException: toDerInputStream rejects tag type 123)

I have attached the XML of the form, which is a very basic one, in case there are any errors there so you can check, but I don't think there is any. The form is in multiple languages, English, Spanish & Chinese

I am using ODK Aggregate v1.4.5 hosted on Google's appspot

thanks in advance for any help you can provide

Brian Dwyer
Partner
BrAle Consulting

Surveyor_Details.xml (7.79 KB)

··· On Tuesday, March 31, 2015 at 4:20:02 AM UTC-3, Chris Kiagiri wrote: > When I try publishing, I get the following error in a popup dialog: > > > RequestFailureException (java.io.IOException: toDerInputStream rejects tag type 123) > > > > Any clue on what's going on?

Same problem here. I have the latest version of ODK Aggregate.

Thank you for the form. Everything works fine for me with ODK Aggregate
1.4.5 and 1.4.4 servers publishing to both Fusion Tables and Google
Spreadsheets.

From this:

It would seem that this is probably an error related to the public-private
key
entered for the Google Credentials used when publishing (
https://opendatakit.org/use/aggregate/oauth2-service-account/ )

I would double-check that you did not insert any spaces before or after any
of the text strings that you needed to cut-and-paste when setting up the
credentials.

··· -------- Mitch

On Mon, Apr 6, 2015 at 12:29 PM, brian@braleconsulting.com wrote:

On Tuesday, March 31, 2015 at 4:20:02 AM UTC-3, Chris Kiagiri wrote:

When I try publishing, I get the following error in a popup dialog:

RequestFailureException (java.io.IOException: toDerInputStream rejects
tag type 123)

Any clue on what's going on?

Hi Mitch,

I'm having a similar problem.

I have just installed ODK Aggregate v1.4.5 Production and set up my OAuth2
and API credentials, but I am also getting the following error when I try
to publish to both spreadsheets and Fusion tables.

Error: RequestFailureException (java.io.IOException: toDerInputStream
rejects tag type 123)

I have attached the XML of the form, which is a very basic one, in case
there are any errors there so you can check, but I don't think there is
any. The form is in multiple languages, English, Spanish & Chinese

I am using ODK Aggregate v1.4.5 hosted on Google's appspot

thanks in advance for any help you can provide

Brian Dwyer
Partner
BrAle Consulting

--

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

Were you publishing to Fusion Tables or Google Spreadsheets?

··· On Thu, Apr 2, 2015 at 1:29 AM, wrote:

Same problem here. I have the latest version of ODK Aggregate.

--

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

Thanks Mitch,
you were right. I managed to copy over a space in the API key. Don't know
how I did that. Anyway everything is working fine now. Thanks for your
quick response and help
Brian

··· On 6 April 2015 at 18:12, Mitch Sundt wrote:

Thank you for the form. Everything works fine for me with ODK Aggregate
1.4.5 and 1.4.4 servers publishing to both Fusion Tables and Google
Spreadsheets.

From this:
http://stackoverflow.com/questions/22525388/push-notification-caused-by-java-io-ioexception-toderinputstream-rejects-tag

It would seem that this is probably an error related to the
public-private key
entered for the Google Credentials used when
publishing ( https://opendatakit.org/use/aggregate/oauth2-service-account/
)

I would double-check that you did not insert any spaces before or after
any of the text strings that you needed to cut-and-paste when setting up
the credentials.


Mitch

On Mon, Apr 6, 2015 at 12:29 PM, brian@braleconsulting.com wrote:

On Tuesday, March 31, 2015 at 4:20:02 AM UTC-3, Chris Kiagiri wrote:

When I try publishing, I get the following error in a popup dialog:

RequestFailureException (java.io.IOException: toDerInputStream rejects
tag type 123)

Any clue on what's going on?

Hi Mitch,

I'm having a similar problem.

I have just installed ODK Aggregate v1.4.5 Production and set up my
OAuth2 and API credentials, but I am also getting the following error when
I try to publish to both spreadsheets and Fusion tables.

Error: RequestFailureException (java.io.IOException: toDerInputStream
rejects tag type 123)

I have attached the XML of the form, which is a very basic one, in case
there are any errors there so you can check, but I don't think there is
any. The form is in multiple languages, English, Spanish & Chinese

I am using ODK Aggregate v1.4.5 hosted on Google's appspot

thanks in advance for any help you can provide

Brian Dwyer
Partner
BrAle Consulting

--

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

--

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/Xnh40jonHmo/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.

Yes.

Warm regards,

Surender Singh
Prime Minister's Fellow
Ministry of Rural Development, GoI
Kishtwar, Jammu and Kashmir, India

MDI Gurgaon (Class of 2013)

M: +919971018885

Twitter: @SurenderBp
Skype: surenderbp

··· On Apr 3, 2015 5:41 AM, "Mitch Sundt" wrote:

Were you publishing to Fusion Tables or Google Spreadsheets?

On Thu, Apr 2, 2015 at 1:29 AM, surender.bp@gmail.com wrote:

Same problem here. I have the latest version of ODK Aggregate.

--

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

--

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/Xnh40jonHmo/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 I have the same error message when I try to publish to Fusion Tables

I do not have any numbers starting any of the fields. I also double checked
the API key and client ID and all is fine no spaces.. i am using aggregate
version 1.4.6 with windows 7.
Please advise?
I attach my xml
Thanks

Tania

nizzanim_test1.xml (11.1 KB)

··· On Tuesday, April 7, 2015 at 3:57:04 PM UTC+3, Brian Dwyer wrote: > > Thanks Mitch, > you were right. I managed to copy over a space in the API key. Don't know > how I did that. Anyway everything is working fine now. Thanks for your > quick response and help > Brian > > On 6 April 2015 at 18:12, Mitch Sundt <mitche...@gmail.com > wrote: > >> Thank you for the form. Everything works fine for me with ODK Aggregate >> 1.4.5 and 1.4.4 servers publishing to both Fusion Tables and Google >> Spreadsheets. >> >> From this: >> http://stackoverflow.com/questions/22525388/push-notification-caused-by-java-io-ioexception-toderinputstream-rejects-tag >> >> It would seem that *this is probably an error related to the >> public-private key* entered for the Google Credentials used when >> publishing ( >> https://opendatakit.org/use/aggregate/oauth2-service-account/ ) >> >> I would double-check that you did not insert any spaces before or after >> any of the text strings that you needed to cut-and-paste when setting up >> the credentials. >> >> -------- >> Mitch >> >> >> >> On Mon, Apr 6, 2015 at 12:29 PM, <br...@braleconsulting.com wrote: >> >>> On Tuesday, March 31, 2015 at 4:20:02 AM UTC-3, Chris Kiagiri wrote: >>> > When I try publishing, I get the following error in a popup dialog: >>> > >>> > >>> > RequestFailureException (java.io.IOException: toDerInputStream rejects >>> tag type 123) >>> > >>> > >>> > >>> > Any clue on what's going on? >>> >>> Hi Mitch, >>> >>> I'm having a similar problem. >>> >>> >>> I have just installed ODK Aggregate v1.4.5 Production and set up my >>> OAuth2 and API credentials, but I am also getting the following error when >>> I try to publish to both spreadsheets and Fusion tables. >>> >>> Error: RequestFailureException (java.io.IOException: toDerInputStream >>> rejects tag type 123) >>> >>> I have attached the XML of the form, which is a very basic one, in case >>> there are any errors there so you can check, but I don't think there is >>> any. The form is in multiple languages, English, Spanish & Chinese >>> >>> I am using ODK Aggregate v1.4.5 hosted on Google's appspot >>> >>> thanks in advance for any help you can provide >>> >>> Brian Dwyer >>> Partner >>> BrAle Consulting >>> >>> -- >>> -- >>> 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: 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 a topic in the >> Google Groups "ODK Community" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/opendatakit/Xnh40jonHmo/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> opendatakit...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > >

This would be an issue with the Google credentials and private key file. I
would review the steps here:
https://opendatakit.org/use/aggregate/oauth2-service-account/

You may want to delete and re-recreate the "Service Account" (and get new
files). Be sure you save the download as-is, and don't try to open it in an
editor, or directly launch with an application.

i.e., it won't be a problem with your form definition.

··· On Wed, Apr 29, 2015 at 7:49 AM, taniabird wrote:

Hi I have the same error message when I try to publish to Fusion Tables

I do not have any numbers starting any of the fields. I also double
checked the API key and client ID and all is fine no spaces.. i am using
aggregate version 1.4.6 with windows 7.
Please advise?
I attach my xml
Thanks

Tania

On Tuesday, April 7, 2015 at 3:57:04 PM UTC+3, Brian Dwyer wrote:

Thanks Mitch,
you were right. I managed to copy over a space in the API key. Don't know
how I did that. Anyway everything is working fine now. Thanks for your
quick response and help
Brian

On 6 April 2015 at 18:12, Mitch Sundt mitche...@gmail.com wrote:

Thank you for the form. Everything works fine for me with ODK Aggregate
1.4.5 and 1.4.4 servers publishing to both Fusion Tables and Google
Spreadsheets.

From this:
http://stackoverflow.com/questions/22525388/push-notification-caused-by-java-io-ioexception-toderinputstream-rejects-tag

It would seem that this is probably an error related to the
public-private key
entered for the Google Credentials used when
publishing (
https://opendatakit.org/use/aggregate/oauth2-service-account/ )

I would double-check that you did not insert any spaces before or after
any of the text strings that you needed to cut-and-paste when setting up
the credentials.


Mitch

On Mon, Apr 6, 2015 at 12:29 PM, br...@braleconsulting.com wrote:

On Tuesday, March 31, 2015 at 4:20:02 AM UTC-3, Chris Kiagiri wrote:

When I try publishing, I get the following error in a popup dialog:

RequestFailureException (java.io.IOException: toDerInputStream
rejects tag type 123)

Any clue on what's going on?

Hi Mitch,

I'm having a similar problem.

I have just installed ODK Aggregate v1.4.5 Production and set up my
OAuth2 and API credentials, but I am also getting the following error when
I try to publish to both spreadsheets and Fusion tables.

Error: RequestFailureException (java.io.IOException: toDerInputStream
rejects tag type 123)

I have attached the XML of the form, which is a very basic one, in case
there are any errors there so you can check, but I don't think there is
any. The form is in multiple languages, English, Spanish & Chinese

I am using ODK Aggregate v1.4.5 hosted on Google's appspot

thanks in advance for any help you can provide

Brian Dwyer
Partner
BrAle Consulting

--

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: 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 a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/Xnh40jonHmo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit...@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.

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

Thanks Mitch,
I followed the oauth2-service-account steps exactly. I saved the download
exactly as is, on my desktop. I didn't touch at all, How can I delete and
re-create the Service Account?

··· On Wednesday, April 29, 2015 at 9:47:24 PM UTC+3, Mitch Sundt wrote: > > This would be an issue with the Google credentials and private key file. I > would review the steps here: > https://opendatakit.org/use/aggregate/oauth2-service-account/ > > You may want to delete and re-recreate the "Service Account" (and get new > files). Be sure you save the download as-is, and don't try to open it in an > editor, or directly launch with an application. > > i.e., it won't be a problem with your form definition. > > > > On Wed, Apr 29, 2015 at 7:49 AM, taniabird <tani...@gmail.com > wrote: > >> Hi I have the same error message when I try to publish to Fusion Tables >> >> I do not have any numbers starting any of the fields. I also double >> checked the API key and client ID and all is fine no spaces.. i am using >> aggregate version 1.4.6 with windows 7. >> Please advise? >> I attach my xml >> Thanks >> >> Tania >> >> On Tuesday, April 7, 2015 at 3:57:04 PM UTC+3, Brian Dwyer wrote: >>> >>> Thanks Mitch, >>> you were right. I managed to copy over a space in the API key. Don't >>> know how I did that. Anyway everything is working fine now. Thanks for your >>> quick response and help >>> Brian >>> >>> On 6 April 2015 at 18:12, Mitch Sundt wrote: >>> >>>> Thank you for the form. Everything works fine for me with ODK Aggregate >>>> 1.4.5 and 1.4.4 servers publishing to both Fusion Tables and Google >>>> Spreadsheets. >>>> >>>> From this: >>>> http://stackoverflow.com/questions/22525388/push-notification-caused-by-java-io-ioexception-toderinputstream-rejects-tag >>>> >>>> It would seem that *this is probably an error related to the >>>> public-private key* entered for the Google Credentials used when >>>> publishing ( >>>> https://opendatakit.org/use/aggregate/oauth2-service-account/ ) >>>> >>>> I would double-check that you did not insert any spaces before or after >>>> any of the text strings that you needed to cut-and-paste when setting up >>>> the credentials. >>>> >>>> -------- >>>> Mitch >>>> >>>> >>>> >>>> On Mon, Apr 6, 2015 at 12:29 PM, wrote: >>>> >>>>> On Tuesday, March 31, 2015 at 4:20:02 AM UTC-3, Chris Kiagiri wrote: >>>>> > When I try publishing, I get the following error in a popup dialog: >>>>> > >>>>> > >>>>> > RequestFailureException (java.io.IOException: toDerInputStream >>>>> rejects tag type 123) >>>>> > >>>>> > >>>>> > >>>>> > Any clue on what's going on? >>>>> >>>>> Hi Mitch, >>>>> >>>>> I'm having a similar problem. >>>>> >>>>> >>>>> I have just installed ODK Aggregate v1.4.5 Production and set up my >>>>> OAuth2 and API credentials, but I am also getting the following error when >>>>> I try to publish to both spreadsheets and Fusion tables. >>>>> >>>>> Error: RequestFailureException (java.io.IOException: toDerInputStream >>>>> rejects tag type 123) >>>>> >>>>> I have attached the XML of the form, which is a very basic one, in >>>>> case there are any errors there so you can check, but I don't think there >>>>> is any. The form is in multiple languages, English, Spanish & Chinese >>>>> >>>>> I am using ODK Aggregate v1.4.5 hosted on Google's appspot >>>>> >>>>> thanks in advance for any help you can provide >>>>> >>>>> Brian Dwyer >>>>> Partner >>>>> BrAle Consulting >>>>> >>>>> -- >>>>> -- >>>>> 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: 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 a topic in the >>>> Google Groups "ODK Community" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/opendatakit/Xnh40jonHmo/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> opendatakit...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> -- >> 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 >

Both are options on the Credentials tab of
https://code.google.com/apis/console

··· On Wed, Apr 29, 2015 at 11:51 AM, taniabird wrote:

Thanks Mitch,
I followed the oauth2-service-account steps exactly. I saved the download
exactly as is, on my desktop. I didn't touch at all, How can I delete and
re-create the Service Account?

On Wednesday, April 29, 2015 at 9:47:24 PM UTC+3, Mitch Sundt wrote:

This would be an issue with the Google credentials and private key file.
I would review the steps here:
https://opendatakit.org/use/aggregate/oauth2-service-account/

You may want to delete and re-recreate the "Service Account" (and get new
files). Be sure you save the download as-is, and don't try to open it in an
editor, or directly launch with an application.

i.e., it won't be a problem with your form definition.

On Wed, Apr 29, 2015 at 7:49 AM, taniabird tani...@gmail.com wrote:

Hi I have the same error message when I try to publish to Fusion Tables

I do not have any numbers starting any of the fields. I also double
checked the API key and client ID and all is fine no spaces.. i am using
aggregate version 1.4.6 with windows 7.
Please advise?
I attach my xml
Thanks

Tania

On Tuesday, April 7, 2015 at 3:57:04 PM UTC+3, Brian Dwyer wrote:

Thanks Mitch,
you were right. I managed to copy over a space in the API key. Don't
know how I did that. Anyway everything is working fine now. Thanks for your
quick response and help
Brian

On 6 April 2015 at 18:12, Mitch Sundt mitche...@gmail.com wrote:

Thank you for the form. Everything works fine for me with ODK
Aggregate 1.4.5 and 1.4.4 servers publishing to both Fusion Tables and
Google Spreadsheets.

From this:
http://stackoverflow.com/questions/22525388/push-notification-caused-by-java-io-ioexception-toderinputstream-rejects-tag

It would seem that this is probably an error related to the
public-private key
entered for the Google Credentials used when
publishing (
https://opendatakit.org/use/aggregate/oauth2-service-account/ )

I would double-check that you did not insert any spaces before or
after any of the text strings that you needed to cut-and-paste when setting
up the credentials.


Mitch

On Mon, Apr 6, 2015 at 12:29 PM, br...@braleconsulting.com wrote:

On Tuesday, March 31, 2015 at 4:20:02 AM UTC-3, Chris Kiagiri wrote:

When I try publishing, I get the following error in a popup dialog:

RequestFailureException (java.io.IOException: toDerInputStream
rejects tag type 123)

Any clue on what's going on?

Hi Mitch,

I'm having a similar problem.

I have just installed ODK Aggregate v1.4.5 Production and set up my
OAuth2 and API credentials, but I am also getting the following error when
I try to publish to both spreadsheets and Fusion tables.

Error: RequestFailureException (java.io.IOException: toDerInputStream
rejects tag type 123)

I have attached the XML of the form, which is a very basic one, in
case there are any errors there so you can check, but I don't think there
is any. The form is in multiple languages, English, Spanish & Chinese

I am using ODK Aggregate v1.4.5 hosted on Google's appspot

thanks in advance for any help you can provide

Brian Dwyer
Partner
BrAle Consulting

--

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: 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 a topic in the
Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/Xnh40jonHmo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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.

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

ok I see where to delete. I tried it again with a new server and client ID
etc but i still get the same error.
Just to confirm I need to generate a JSON key to download, and the Public
Access API i select is a Browser key not a server key.
And when I try to publish from aggregate it asks me for an email to use and
I am providing the email of the superuser- All this is correct?

··· On Wednesday, April 29, 2015 at 9:51:40 PM UTC+3, taniabird wrote: > > Thanks Mitch, > I followed the oauth2-service-account steps exactly. I saved the download > exactly as is, on my desktop. I didn't touch at all, How can I delete and > re-create the Service Account? > > On Wednesday, April 29, 2015 at 9:47:24 PM UTC+3, Mitch Sundt wrote: >> >> This would be an issue with the Google credentials and private key file. >> I would review the steps here: >> https://opendatakit.org/use/aggregate/oauth2-service-account/ >> >> You may want to delete and re-recreate the "Service Account" (and get new >> files). Be sure you save the download as-is, and don't try to open it in an >> editor, or directly launch with an application. >> >> i.e., it won't be a problem with your form definition. >> >> >> >> On Wed, Apr 29, 2015 at 7:49 AM, taniabird wrote: >> >>> Hi I have the same error message when I try to publish to Fusion Tables >>> >>> I do not have any numbers starting any of the fields. I also double >>> checked the API key and client ID and all is fine no spaces.. i am using >>> aggregate version 1.4.6 with windows 7. >>> Please advise? >>> I attach my xml >>> Thanks >>> >>> Tania >>> >>> On Tuesday, April 7, 2015 at 3:57:04 PM UTC+3, Brian Dwyer wrote: >>>> >>>> Thanks Mitch, >>>> you were right. I managed to copy over a space in the API key. Don't >>>> know how I did that. Anyway everything is working fine now. Thanks for your >>>> quick response and help >>>> Brian >>>> >>>> On 6 April 2015 at 18:12, Mitch Sundt wrote: >>>> >>>>> Thank you for the form. Everything works fine for me with ODK >>>>> Aggregate 1.4.5 and 1.4.4 servers publishing to both Fusion Tables and >>>>> Google Spreadsheets. >>>>> >>>>> From this: >>>>> http://stackoverflow.com/questions/22525388/push-notification-caused-by-java-io-ioexception-toderinputstream-rejects-tag >>>>> >>>>> It would seem that *this is probably an error related to the >>>>> public-private key* entered for the Google Credentials used when >>>>> publishing ( >>>>> https://opendatakit.org/use/aggregate/oauth2-service-account/ ) >>>>> >>>>> I would double-check that you did not insert any spaces before or >>>>> after any of the text strings that you needed to cut-and-paste when setting >>>>> up the credentials. >>>>> >>>>> -------- >>>>> Mitch >>>>> >>>>> >>>>> >>>>> On Mon, Apr 6, 2015 at 12:29 PM, wrote: >>>>> >>>>>> On Tuesday, March 31, 2015 at 4:20:02 AM UTC-3, Chris Kiagiri wrote: >>>>>> > When I try publishing, I get the following error in a popup dialog: >>>>>> > >>>>>> > >>>>>> > RequestFailureException (java.io.IOException: toDerInputStream >>>>>> rejects tag type 123) >>>>>> > >>>>>> > >>>>>> > >>>>>> > Any clue on what's going on? >>>>>> >>>>>> Hi Mitch, >>>>>> >>>>>> I'm having a similar problem. >>>>>> >>>>>> >>>>>> I have just installed ODK Aggregate v1.4.5 Production and set up my >>>>>> OAuth2 and API credentials, but I am also getting the following error when >>>>>> I try to publish to both spreadsheets and Fusion tables. >>>>>> >>>>>> Error: RequestFailureException (java.io.IOException: toDerInputStream >>>>>> rejects tag type 123) >>>>>> >>>>>> I have attached the XML of the form, which is a very basic one, in >>>>>> case there are any errors there so you can check, but I don't think there >>>>>> is any. The form is in multiple languages, English, Spanish & Chinese >>>>>> >>>>>> I am using ODK Aggregate v1.4.5 hosted on Google's appspot >>>>>> >>>>>> thanks in advance for any help you can provide >>>>>> >>>>>> Brian Dwyer >>>>>> Partner >>>>>> BrAle Consulting >>>>>> >>>>>> -- >>>>>> -- >>>>>> 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: 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 a topic in the >>>>> Google Groups "ODK Community" group. >>>>> To unsubscribe from this topic, visit >>>>> https://groups.google.com/d/topic/opendatakit/Xnh40jonHmo/unsubscribe. >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> opendatakit...@googlegroups.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> -- >>> -- >>> 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 >> >

No.

Click once on "OAuth Key" and create a Service Account. This will download
a file ending with "...-privatekey.p12"

Click once on "Public API Key" and create a Browser key.

··· On Wed, Apr 29, 2015 at 12:07 PM, taniabird wrote:

ok I see where to delete. I tried it again with a new server and client ID
etc but i still get the same error.
Just to confirm I need to generate a JSON key to download, and the Public
Access API i select is a Browser key not a server key.
And when I try to publish from aggregate it asks me for an email to use
and I am providing the email of the superuser- All this is correct?

On Wednesday, April 29, 2015 at 9:51:40 PM UTC+3, taniabird wrote:

Thanks Mitch,
I followed the oauth2-service-account steps exactly. I saved the download
exactly as is, on my desktop. I didn't touch at all, How can I delete and
re-create the Service Account?

On Wednesday, April 29, 2015 at 9:47:24 PM UTC+3, Mitch Sundt wrote:

This would be an issue with the Google credentials and private key file.
I would review the steps here:
https://opendatakit.org/use/aggregate/oauth2-service-account/

You may want to delete and re-recreate the "Service Account" (and get
new files). Be sure you save the download as-is, and don't try to open it
in an editor, or directly launch with an application.

i.e., it won't be a problem with your form definition.

On Wed, Apr 29, 2015 at 7:49 AM, taniabird tani...@gmail.com wrote:

Hi I have the same error message when I try to publish to Fusion Tables

I do not have any numbers starting any of the fields. I also double
checked the API key and client ID and all is fine no spaces.. i am using
aggregate version 1.4.6 with windows 7.
Please advise?
I attach my xml
Thanks

Tania

On Tuesday, April 7, 2015 at 3:57:04 PM UTC+3, Brian Dwyer wrote:

Thanks Mitch,
you were right. I managed to copy over a space in the API key. Don't
know how I did that. Anyway everything is working fine now. Thanks for your
quick response and help
Brian

On 6 April 2015 at 18:12, Mitch Sundt mitche...@gmail.com wrote:

Thank you for the form. Everything works fine for me with ODK
Aggregate 1.4.5 and 1.4.4 servers publishing to both Fusion Tables and
Google Spreadsheets.

From this:
http://stackoverflow.com/questions/22525388/push-notification-caused-by-java-io-ioexception-toderinputstream-rejects-tag

It would seem that this is probably an error related to the
public-private key
entered for the Google Credentials used when
publishing (
https://opendatakit.org/use/aggregate/oauth2-service-account/ )

I would double-check that you did not insert any spaces before or
after any of the text strings that you needed to cut-and-paste when setting
up the credentials.


Mitch

On Mon, Apr 6, 2015 at 12:29 PM, br...@braleconsulting.com wrote:

On Tuesday, March 31, 2015 at 4:20:02 AM UTC-3, Chris Kiagiri wrote:

When I try publishing, I get the following error in a popup dialog:

RequestFailureException (java.io.IOException: toDerInputStream
rejects tag type 123)

Any clue on what's going on?

Hi Mitch,

I'm having a similar problem.

I have just installed ODK Aggregate v1.4.5 Production and set up my
OAuth2 and API credentials, but I am also getting the following error when
I try to publish to both spreadsheets and Fusion tables.

Error: RequestFailureException (java.io.IOException:
toDerInputStream rejects tag type 123)

I have attached the XML of the form, which is a very basic one, in
case there are any errors there so you can check, but I don't think there
is any. The form is in multiple languages, English, Spanish & Chinese

I am using ODK Aggregate v1.4.5 hosted on Google's appspot

thanks in advance for any help you can provide

Brian Dwyer
Partner
BrAle Consulting

--

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: 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 a topic in
the Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/Xnh40jonHmo/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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.

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

The Service Account is what is not set up correctly.

Also double-check that you are pasting the e-mail address in the e-mail
field, and the client ID in the client ID field on ODK Aggregate's Site
Admin / Preferences / Google Credentials page.

··· On Wed, Apr 29, 2015 at 12:12 PM, Mitch Sundt wrote:

No.

Click once on "OAuth Key" and create a Service Account. This will download
a file ending with "...-privatekey.p12"

Click once on "Public API Key" and create a Browser key.

On Wed, Apr 29, 2015 at 12:07 PM, taniabird taniabird@gmail.com wrote:

ok I see where to delete. I tried it again with a new server and client
ID etc but i still get the same error.
Just to confirm I need to generate a JSON key to download, and the Public
Access API i select is a Browser key not a server key.
And when I try to publish from aggregate it asks me for an email to use
and I am providing the email of the superuser- All this is correct?

On Wednesday, April 29, 2015 at 9:51:40 PM UTC+3, taniabird wrote:

Thanks Mitch,
I followed the oauth2-service-account steps exactly. I saved the
download exactly as is, on my desktop. I didn't touch at all, How can I
delete and re-create the Service Account?

On Wednesday, April 29, 2015 at 9:47:24 PM UTC+3, Mitch Sundt wrote:

This would be an issue with the Google credentials and private key
file. I would review the steps here:
https://opendatakit.org/use/aggregate/oauth2-service-account/

You may want to delete and re-recreate the "Service Account" (and get
new files). Be sure you save the download as-is, and don't try to open it
in an editor, or directly launch with an application.

i.e., it won't be a problem with your form definition.

On Wed, Apr 29, 2015 at 7:49 AM, taniabird tani...@gmail.com wrote:

Hi I have the same error message when I try to publish to Fusion Tables

I do not have any numbers starting any of the fields. I also double
checked the API key and client ID and all is fine no spaces.. i am using
aggregate version 1.4.6 with windows 7.
Please advise?
I attach my xml
Thanks

Tania

On Tuesday, April 7, 2015 at 3:57:04 PM UTC+3, Brian Dwyer wrote:

Thanks Mitch,
you were right. I managed to copy over a space in the API key. Don't
know how I did that. Anyway everything is working fine now. Thanks for your
quick response and help
Brian

On 6 April 2015 at 18:12, Mitch Sundt mitche...@gmail.com wrote:

Thank you for the form. Everything works fine for me with ODK
Aggregate 1.4.5 and 1.4.4 servers publishing to both Fusion Tables and
Google Spreadsheets.

From this:
http://stackoverflow.com/questions/22525388/push-notification-caused-by-java-io-ioexception-toderinputstream-rejects-tag

It would seem that this is probably an error related to the
public-private key
entered for the Google Credentials used when
publishing (
https://opendatakit.org/use/aggregate/oauth2-service-account/ )

I would double-check that you did not insert any spaces before or
after any of the text strings that you needed to cut-and-paste when setting
up the credentials.


Mitch

On Mon, Apr 6, 2015 at 12:29 PM, br...@braleconsulting.com wrote:

On Tuesday, March 31, 2015 at 4:20:02 AM UTC-3, Chris Kiagiri wrote:

When I try publishing, I get the following error in a popup
dialog:

RequestFailureException (java.io.IOException: toDerInputStream
rejects tag type 123)

Any clue on what's going on?

Hi Mitch,

I'm having a similar problem.

I have just installed ODK Aggregate v1.4.5 Production and set up my
OAuth2 and API credentials, but I am also getting the following error when
I try to publish to both spreadsheets and Fusion tables.

Error: RequestFailureException (java.io.IOException:
toDerInputStream rejects tag type 123)

I have attached the XML of the form, which is a very basic one, in
case there are any errors there so you can check, but I don't think there
is any. The form is in multiple languages, English, Spanish & Chinese

I am using ODK Aggregate v1.4.5 hosted on Google's appspot

thanks in advance for any help you can provide

Brian Dwyer
Partner
BrAle Consulting

--

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: 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 a topic in
the Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/Xnh40jonHmo/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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.

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

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

Ok I think this may be the solution: once I've clicked on OAuth key it
then gives me two options for a Service Account- JSON or P12 So i will now
try it wil P12 instead. But in the meantime I have a new problem!

I have two management profiles my private and my work -both gmail..I
thought this might be causing the confusion so I deleted my private email
from the account and then logged out of the browser. Now when I try to log
in with my work profile (the profile I used to set everything up) it wont
let me know it- with either profile! I am sure I am using the password I
set.. its a simple password.. Can i retrieve the password somehow there is
no prompt!
Yikes!

··· On Wednesday, April 29, 2015 at 10:12:57 PM UTC+3, Mitch Sundt wrote: > > No. > > Click once on "OAuth Key" and create a Service Account. This will download > a file ending with "...-privatekey.p12" > > Click once on "Public API Key" and create a Browser key. > > > On Wed, Apr 29, 2015 at 12:07 PM, taniabird <tani...@gmail.com > wrote: > >> ok I see where to delete. I tried it again with a new server and client >> ID etc but i still get the same error. >> Just to confirm I need to generate a JSON key to download, and the Public >> Access API i select is a Browser key not a server key. >> And when I try to publish from aggregate it asks me for an email to use >> and I am providing the email of the superuser- All this is correct? >> >> >> >> >> On Wednesday, April 29, 2015 at 9:51:40 PM UTC+3, taniabird wrote: >>> >>> Thanks Mitch, >>> I followed the oauth2-service-account steps exactly. I saved the >>> download exactly as is, on my desktop. I didn't touch at all, How can I >>> delete and re-create the Service Account? >>> >>> On Wednesday, April 29, 2015 at 9:47:24 PM UTC+3, Mitch Sundt wrote: >>>> >>>> This would be an issue with the Google credentials and private key >>>> file. I would review the steps here: >>>> https://opendatakit.org/use/aggregate/oauth2-service-account/ >>>> >>>> You may want to delete and re-recreate the "Service Account" (and get >>>> new files). Be sure you save the download as-is, and don't try to open it >>>> in an editor, or directly launch with an application. >>>> >>>> i.e., it won't be a problem with your form definition. >>>> >>>> >>>> >>>> On Wed, Apr 29, 2015 at 7:49 AM, taniabird wrote: >>>> >>>>> Hi I have the same error message when I try to publish to Fusion Tables >>>>> >>>>> I do not have any numbers starting any of the fields. I also double >>>>> checked the API key and client ID and all is fine no spaces.. i am using >>>>> aggregate version 1.4.6 with windows 7. >>>>> Please advise? >>>>> I attach my xml >>>>> Thanks >>>>> >>>>> Tania >>>>> >>>>> On Tuesday, April 7, 2015 at 3:57:04 PM UTC+3, Brian Dwyer wrote: >>>>>> >>>>>> Thanks Mitch, >>>>>> you were right. I managed to copy over a space in the API key. Don't >>>>>> know how I did that. Anyway everything is working fine now. Thanks for your >>>>>> quick response and help >>>>>> Brian >>>>>> >>>>>> On 6 April 2015 at 18:12, Mitch Sundt wrote: >>>>>> >>>>>>> Thank you for the form. Everything works fine for me with ODK >>>>>>> Aggregate 1.4.5 and 1.4.4 servers publishing to both Fusion Tables and >>>>>>> Google Spreadsheets. >>>>>>> >>>>>>> From this: >>>>>>> http://stackoverflow.com/questions/22525388/push-notification-caused-by-java-io-ioexception-toderinputstream-rejects-tag >>>>>>> >>>>>>> It would seem that *this is probably an error related to the >>>>>>> public-private key* entered for the Google Credentials used when >>>>>>> publishing ( >>>>>>> https://opendatakit.org/use/aggregate/oauth2-service-account/ ) >>>>>>> >>>>>>> I would double-check that you did not insert any spaces before or >>>>>>> after any of the text strings that you needed to cut-and-paste when setting >>>>>>> up the credentials. >>>>>>> >>>>>>> -------- >>>>>>> Mitch >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Mon, Apr 6, 2015 at 12:29 PM, wrote: >>>>>>> >>>>>>>> On Tuesday, March 31, 2015 at 4:20:02 AM UTC-3, Chris Kiagiri wrote: >>>>>>>> > When I try publishing, I get the following error in a popup >>>>>>>> dialog: >>>>>>>> > >>>>>>>> > >>>>>>>> > RequestFailureException (java.io.IOException: toDerInputStream >>>>>>>> rejects tag type 123) >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > Any clue on what's going on? >>>>>>>> >>>>>>>> Hi Mitch, >>>>>>>> >>>>>>>> I'm having a similar problem. >>>>>>>> >>>>>>>> >>>>>>>> I have just installed ODK Aggregate v1.4.5 Production and set up my >>>>>>>> OAuth2 and API credentials, but I am also getting the following error when >>>>>>>> I try to publish to both spreadsheets and Fusion tables. >>>>>>>> >>>>>>>> Error: RequestFailureException (java.io.IOException: >>>>>>>> toDerInputStream rejects tag type 123) >>>>>>>> >>>>>>>> I have attached the XML of the form, which is a very basic one, in >>>>>>>> case there are any errors there so you can check, but I don't think there >>>>>>>> is any. The form is in multiple languages, English, Spanish & Chinese >>>>>>>> >>>>>>>> I am using ODK Aggregate v1.4.5 hosted on Google's appspot >>>>>>>> >>>>>>>> thanks in advance for any help you can provide >>>>>>>> >>>>>>>> Brian Dwyer >>>>>>>> Partner >>>>>>>> BrAle Consulting >>>>>>>> >>>>>>>> -- >>>>>>>> -- >>>>>>>> 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: 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 a topic in >>>>>>> the Google Groups "ODK Community" group. >>>>>>> To unsubscribe from this topic, visit >>>>>>> https://groups.google.com/d/topic/opendatakit/Xnh40jonHmo/unsubscribe >>>>>>> . >>>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>>> opendatakit...@googlegroups.com. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> -- >>>>> -- >>>>> 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: 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 >

Not sure what server or account you are referring to. A lot of Google
developer tools, (and gmail, for that matter), get confused when users have
multiple gmail accounts.

This seems to get broken and fixed by Google about every 4 days.

Once solution is to go to gmail, sign out of it, and then sign in with just
the gmail account that works.

Another solution is to open a Private Browsing or Incognito window in your
browser, and use that for all of the Google sites.

Welcome to my world!

··· On Wed, Apr 29, 2015 at 12:20 PM, taniabird wrote:

Ok I think this may be the solution: once I've clicked on OAuth key it
then gives me two options for a Service Account- JSON or P12 So i will now
try it wil P12 instead. But in the meantime I have a new problem!

I have two management profiles my private and my work -both gmail..I
thought this might be causing the confusion so I deleted my private email
from the account and then logged out of the browser. Now when I try to log
in with my work profile (the profile I used to set everything up) it wont
let me know it- with either profile! I am sure I am using the password I
set.. its a simple password.. Can i retrieve the password somehow there is
no prompt!
Yikes!

On Wednesday, April 29, 2015 at 10:12:57 PM UTC+3, Mitch Sundt wrote:

No.

Click once on "OAuth Key" and create a Service Account. This will
download a file ending with "...-privatekey.p12"

Click once on "Public API Key" and create a Browser key.

On Wed, Apr 29, 2015 at 12:07 PM, taniabird tani...@gmail.com wrote:

ok I see where to delete. I tried it again with a new server and client
ID etc but i still get the same error.
Just to confirm I need to generate a JSON key to download, and the
Public Access API i select is a Browser key not a server key.
And when I try to publish from aggregate it asks me for an email to use
and I am providing the email of the superuser- All this is correct?

On Wednesday, April 29, 2015 at 9:51:40 PM UTC+3, taniabird wrote:

Thanks Mitch,
I followed the oauth2-service-account steps exactly. I saved the
download exactly as is, on my desktop. I didn't touch at all, How can I
delete and re-create the Service Account?

On Wednesday, April 29, 2015 at 9:47:24 PM UTC+3, Mitch Sundt wrote:

This would be an issue with the Google credentials and private key
file. I would review the steps here:
https://opendatakit.org/use/aggregate/oauth2-service-account/

You may want to delete and re-recreate the "Service Account" (and get
new files). Be sure you save the download as-is, and don't try to open it
in an editor, or directly launch with an application.

i.e., it won't be a problem with your form definition.

On Wed, Apr 29, 2015 at 7:49 AM, taniabird tani...@gmail.com wrote:

Hi I have the same error message when I try to publish to Fusion
Tables

I do not have any numbers starting any of the fields. I also double
checked the API key and client ID and all is fine no spaces.. i am using
aggregate version 1.4.6 with windows 7.
Please advise?
I attach my xml
Thanks

Tania

On Tuesday, April 7, 2015 at 3:57:04 PM UTC+3, Brian Dwyer wrote:

Thanks Mitch,
you were right. I managed to copy over a space in the API key. Don't
know how I did that. Anyway everything is working fine now. Thanks for your
quick response and help
Brian

On 6 April 2015 at 18:12, Mitch Sundt mitche...@gmail.com wrote:

Thank you for the form. Everything works fine for me with ODK
Aggregate 1.4.5 and 1.4.4 servers publishing to both Fusion Tables and
Google Spreadsheets.

From this:
http://stackoverflow.com/questions/22525388/push-notification-caused-by-java-io-ioexception-toderinputstream-rejects-tag

It would seem that this is probably an error related to the
public-private key
entered for the Google Credentials used when
publishing (
https://opendatakit.org/use/aggregate/oauth2-service-account/ )

I would double-check that you did not insert any spaces before or
after any of the text strings that you needed to cut-and-paste when setting
up the credentials.


Mitch

On Mon, Apr 6, 2015 at 12:29 PM, br...@braleconsulting.com wrote:

On Tuesday, March 31, 2015 at 4:20:02 AM UTC-3, Chris Kiagiri wrote:

When I try publishing, I get the following error in a popup
dialog:

RequestFailureException (java.io.IOException: toDerInputStream
rejects tag type 123)

Any clue on what's going on?

Hi Mitch,

I'm having a similar problem.

I have just installed ODK Aggregate v1.4.5 Production and set up
my OAuth2 and API credentials, but I am also getting the following error
when I try to publish to both spreadsheets and Fusion tables.

Error: RequestFailureException (java.io.IOException:
toDerInputStream rejects tag type 123)

I have attached the XML of the form, which is a very basic one, in
case there are any errors there so you can check, but I don't think there
is any. The form is in multiple languages, English, Spanish & Chinese

I am using ODK Aggregate v1.4.5 hosted on Google's appspot

thanks in advance for any help you can provide

Brian Dwyer
Partner
BrAle Consulting

--

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: 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 a topic in
the Google Groups "ODK Community" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/opendatakit/Xnh40jonHmo/unsubscribe
.
To unsubscribe from this group and all its topics, send an email to
opendatakit...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
--
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: 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.

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