Skip to main content
1-Visitor
October 19, 2020
Question

import entities from a file and i get this error

  • October 19, 2020
  • 2 replies
  • 1714 views

Hi, i'm trying to import entities from a file and i get this error:

 

com.thingworx.common.exceptions.InvalidRequestException: The User being set to the 'Run As User' value is invalid. Cannot proceed with changes.

 

Thank you.

2 replies

5-Regular Member
October 19, 2020

Hi @xotzHelper,

 

Starting with ThingWorx 8.4, Timer Things require a user be set in the runAsUser field. Ensure the user specified in the imported Timer Thing exists in the ThingWorx server before proceeding with the import.

 

You can also manually update the runAsUser field in the exported xml file and set it to an existing user in the ThingWorx server.

 

Thanks,

Emmanuel

1-Visitor
October 20, 2020

Hi, thank you for the response. I imported users and user groups first, but it still gave me the same error.

5-Regular Member
October 20, 2020

Hi @xotzHelper,

 

Can you verify the user running the Timer thing(s) was successfully imported?

Thanks,

Emmanuel

Community Manager
October 22, 2020

Hi @xotzHelper.

 

Based on your last response on this post, I assume you were successful in resolving your issue.  If so, please mark the appropriate response as the Accepted Solution for the benefit of others with the same issue.

 

Thank you for your participation in our community!

 

Regards.

 

--Sharon