Skip to main content
1-Visitor
January 12, 2017
Question

Execution Error in service script

  • January 12, 2017
  • 2 replies
  • 2462 views

I have service which receives a string as input and result number as output. I have tested service is working as expected.

I have binded that service with value display widget and input to service through mashup parameter. When running mashup I am getting error: "Execution error in service script [Thing serviceName] : TypeError: Cannot call method "serviceName" of null (serviceName#2)"

2 replies

20-Turquoise
January 12, 2017

Are you logged in as Administrator?  Is the parameter type matching your service value type?

5-Regular Member
January 13, 2017

Looks like the logged-in user does not have access (visibility) to the entity on which the service is defined.