Skip to main content
1-Visitor
February 8, 2018
Question

Not authorized for PropertyWrite

  • February 8, 2018
  • 1 reply
  • 6051 views

I used kafka, but when I assign a value to a property, there's an error:com.thingworx.common.exceptions.InvalidRequestException: Not authorized for PropertyWrite on strvalue in TestReceiver

 

@ThingworxPropertyDefinitions(properties = {

@ThingworxPropertyDefinition(name = "strvalue", description = "", category = "", baseType = "STRING", aspects = {"isReadOnly:false","isPersistent:true"}) })

 

setPropertyValue("strvalue", new StringPrimitive(results));

 

Please help me solve this problem.

 

 

 

 

1 reply

22-Sapphire I
February 8, 2018

For the User that is doing the Write, did you verify permissions for Runtime Property Write in the platform?

振霍_011-VisitorAuthor
1-Visitor
February 8, 2018

My user is Administrator

22-Sapphire I
February 8, 2018

When you look in the Application Log in Thingworx, does it show that same error and Administrator as the user?