Article - CS322131
Error occours when trying to change user's passwords via constructed URLs in ThingWorx: Platform
Modified: 28-Jul-2023
Applies To
- ThingWorx Platform 8.4 to 8.5
Description
- When trying to use the following codes as a service to construct an URL to change a user's password (related to CS318095):
var tokenName = 'temp-' + generateGUID();
Resources["EntityServices"].CreateApplicationKey({ name: tokenName, user: username });
var tokenValue = ApplicationKeys[tokenName].GetKeyID();
var result = "http://atcp1/Thingworx/FormLogin/reset/<Organization>?Summary=" + tokenValue + "&thingworx-form-userid=" + username;
- The following error message is found in ApplicationLog.log:
-
Execution error in service script [<serviceName>] :: Import Failed: Not authorized for Create
-
This is a printer-friendly version of Article 322131 and may be out of date. For the latest version click CS322131