Article - CS267029
No keyId is displayed in the application key which were imported from an older version to ThingWorx 8.0
Modified: 17-Dec-2017
Applies To
- ThingWorx Platform 7.3 to 8.0
Description
- No keyId is displayed in the application keys which were imported from an older version to ThingWorx 8.0
- Imported Application Key is displayed in the ThingWorx Composer > Security > Application Keys
- No keyId is displayed under that Application Key, see below

- Newly created Application Key works as expected
- In some instance, Composer will not allow creation of new Application Keys, but it will allow for deletion of keys
- Error which appears when starting Composer: [L: ERROR] [O: c.t.c.p.m.DispatchingServerCommunicationModule] Authentication request failed: Application Key not found
- Must delete the keystore files from ThingworxStorage and ThingworxPlatform folders before ThingWorx will load after upgrade to 8.0
- However the DB table containing the Application Key and it's data does show keyId
- Attempting to delete the imported Application Key and re-importing them fails with following error in the application log:
2017-07-06 15:49:54.166+0200 [L: INFO] [O: c.t.w.Importer] [I: ] [U:] [S: ] [T: http-nio-8003-exec-41] Starting entity import
2017-07-06 15:49:54.166+0200 [L: ERROR] [O: c.t.c.ImportProcessor] [I: ] [U: ] [S: ] [T: http-nio-8003-exec-41] Unable to process import: Existing ApplicationKey property decode fail, cannot update
2017-07-06 15:49:54.166+0200 [L: ERROR] [O: c.t.w.Importer] [I: ] [U: ] [S: ] [T: http-nio-8003-exec-41] Entity import failed
2017-07-06 15:49:54.166+0200 [L: ERROR] [O: E.c.t.w.Importer] [I: ] [U: ] [S: ] [T: http-nio-8003-exec-41] [message: Import Failed: Existing ApplicationKey property decode fail, cannot update]
2017-07-06 15:49:54.166+0200 [L: ERROR] [O: c.t.w.Importer] [I: ] [U: ] [S: ] [T: http-nio-8003-exec-41] Internal error: java.lang.Exception: Import Failed: Existing ApplicationKey property decode fail, cannot update
2017-07-06 15:49:54.166+0200 [L: ERROR] [O: c.t.c.ImportProcessor] [I: ] [U: ] [S: ] [T: http-nio-8003-exec-41] Unable to process import: Existing ApplicationKey property decode fail, cannot update
2017-07-06 15:49:54.166+0200 [L: ERROR] [O: c.t.w.Importer] [I: ] [U: ] [S: ] [T: http-nio-8003-exec-41] Entity import failed
2017-07-06 15:49:54.166+0200 [L: ERROR] [O: E.c.t.w.Importer] [I: ] [U: ] [S: ] [T: http-nio-8003-exec-41] [message: Import Failed: Existing ApplicationKey property decode fail, cannot update]
2017-07-06 15:49:54.166+0200 [L: ERROR] [O: c.t.w.Importer] [I: ] [U: ] [S: ] [T: http-nio-8003-exec-41] Internal error: java.lang.Exception: Import Failed: Existing ApplicationKey property decode fail, cannot update
This is a printer-friendly version of Article 267029 and may be out of date. For the latest version click CS267029