cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community email address has changed to community-mailer@ptc.com. Learn more.

Invalid number of values provided to UpdateStreamEntry

Tomellache2B
13-Aquamarine

Invalid number of values provided to UpdateStreamEntry

Hi everyone.

 

I have created a service that adds stream entries to only a few specified columns if a certain boolean condition is true. If the boolean condition is false then the service updates the stream entry by filling in the rest of the column values. I passed the infotable that holds the values and a current streamID to the updateStreamEntries snippet. 

This does not work, I keep getting the error :  Invalid number of values provided to UpdateStreamEntry.

 

How can I fix this?

1 ACCEPTED SOLUTION

Accepted Solutions
nmutter
14-Alexandrite
(To:Tomellache2B)

You can only pass one entry to update to the service. So the values parameter cannot have more than one row if you use UpdateStreamEntry.

View solution in original post

1 REPLY 1
nmutter
14-Alexandrite
(To:Tomellache2B)

You can only pass one entry to update to the service. So the values parameter cannot have more than one row if you use UpdateStreamEntry.