Article - CS264349
Error "ApplicationKey Is Not Allowed As A URL Parameter" received while trying to use an Application Key in a URL to run a ThingWorx Service
Modified: 25-Apr-2025
Applies To
- ThingWorx Platform 8.0 to 9.5
Description
- Unable to run services using a configured Application Key (appKey) through the appKey URL parameter
- Is it possible to pass an appKey to ThingWorx services using query string parameters?
- How to enable/disable appKeys in the URL
- REST API calls with appKeys as parameters are rejected by ThingWorx 8/9
- 401 (UNAUTHORIZED) message in Apache Access log corresponding to REST API call:
<IP> - - [<Date/Time>] "POST /Thingworx/Subsystems/PlatformSubsystem/Services/GetThingCount?appKey=<appKey> HTTP/1.1" 401 -
- Error message in ThingworxStorage/logs/SecurityLog.log
ApplicationKey Is Not Allowed As A URL Parameter
This is a printer-friendly version of Article 264349 and may be out of date. For the latest version click CS264349