Skip to main content
16-Pearl
September 5, 2022
Solved

Invalid number of values provided to UpdateStreamEntry

  • September 5, 2022
  • 1 reply
  • 1114 views

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?

Best answer by nmutter

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.

1 reply

nmutter16-PearlAnswer
16-Pearl
September 5, 2022

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.