Skip to main content
1-Visitor
April 19, 2018
Question

Unable to execute addStreamEntries

  • April 19, 2018
  • 1 reply
  • 3337 views

I have assigned a dataShape(without a primary key) to a stream but whenever I try to edit value field to add multiple stream entries. I get a response saying "Must have a dataShape defined to add rows. "(Please find attached screenshot)

When tried with a single addEntry, it works fine.

1 reply

22-Sapphire I
April 19, 2018

It looks like you are trying to execute this within composer.

Unfortunately it looks like this is one of those services that doesn't run within composer.

You will have to do an actual service call.

chaitanya1-VisitorAuthor
1-Visitor
April 25, 2018

Hi @PaiChung,

Thanks for the response.
Do you mean to say I have to invoke this service with a REST call?
If so, what would be the json structure for sending multiple entries?