Skip to main content
6-Contributor
June 9, 2023
Solved

Unable to move data from data table to stream

  • June 9, 2023
  • 1 reply
  • 1441 views

Hi,

 

We are using Thingworx 9.1.14-b1128 version and I am trying to move data from data table to stream through subscription whenever shift changes will happen but service execution is not happening properly and getting error like this,

moveToStream ERROR at line: 55 JavaException: com.thingworx.common.exceptions.InvalidRequestException: Not authorized for ServiceInvoke on AddStreamEntries in AAL.Production.Summary.Stream

Kindly guide me what kind of permission need to provide for this.

 

 

 

 

 

 

 

 

Best answer by Velkumar

Hi @RN_123456 

 

Add Runtime Permission in Stream for the user.

Velkumar_0-1686292494665.png

 

/VR

1 reply

Velkumar19-TanzaniteAnswer
19-Tanzanite
June 9, 2023

Hi @RN_123456 

 

Add Runtime Permission in Stream for the user.

Velkumar_0-1686292494665.png

 

/VR

RN_1234566-ContributorAuthor
6-Contributor
June 10, 2023

Hi @Velkumar 

 

Now it is working fine, thank you.