When using the GET /{client_id}/objects/{object_name} REST API endpoint, you may observe that if an object does not exist in the target client, the system returns the object from Client 0 (if it exists). This article explains the design intent behind this behavior and how to configure it.
Automic Automation (Automation Engine)
The GET object REST API endpoint is designed to maintain consistency with the Automation Engine Java API and scripting functions. By default, the system allows a fallback to Client 0 to retrieve objects if they are not found in the target client.
If you wish to prevent the API from falling back to Client 0 and instead receive a 404 error when an object is not found in the target client, perform the following steps:
UC_SYSTEM_SETTINGS object.OBJECT_ACCESS_CLIENT_ZERO variable to N.For further details on system variables and configuration, refer to the official .