User object cannot be exported via REST API. 45109 The requested resource cannot be found.
search cancel

User object cannot be exported via REST API. 45109 The requested resource cannot be found.

book

Article ID: 205115

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

A user object cannot be exported via REST API using the following URI.

{{URLROOT}}://{{HOSTNAME}}:{{PORT}}/{{APIURL}}/{{APIVERSION}}/{{CLIENT}}/objects/POSTMAN/POSTMAN

Result:

{
    "code": 45109,
    "error": "The requested resource cannot be found.",
    "details": "No detail information available."
}

Environment

Release: AUTOMIC WORKLOAD AUTOMATION

Component: AUTOMATION ENGINE

Cause

Syntax.

Resolution

The "/" within the URI needs to be replaced with the percent encoding code %2F.

{{URLROOT}}://{{HOSTNAME}}:{{PORT}}/{{APIURL}}/{{APIVERSION}}/{{CLIENT}}/objects/POSTMAN%2FPOSTMAN

Result:

{
    "total": 1,
    "data": {
        "user": {
            "metadata": {
                "version": "12.3.4"
            },
            "general_attributes": {
                "minimum_ae_version": "11.2",
                "child_flags": "00000000000000000000000000000000",
                "last_runtimes": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
                "name": "POSTMAN/POSTMAN",
                "type": "USER",
                "versioning_id": "-1109346111"
            },
            "user_attributes": {
                "is_active": "1",
                "eh_refresh_interval": "90",
                "last_session": "2020-12-14 23:32:48.0",
                "privilege": "17591917475327",
                "valid_from": "2000-01-01 00:00:00.0",
                "valid_to": "2000-01-01 00:00:00.0"
            },
            "authorizations": {
                "auth_group": "1",
                "bitcode": "255",
                "filter_object_type": "*",
                "filter_object_name": "*",
                "filter_agent_name1": "*",
                "filter_agent_name2": "*",
                "filter_user_id1": "*",
                "filter_user_id2": "*",
                "filter_file_names1": "*",
                "filter_file_names2": "*",
                "line_number": "1"
            }
        }
    },
    "path": "ADMIN/USER.OBJECTS",
    "client": 100,
    "hasmore": false
}