Help Center/ CodeArts Agent/ FAQs/ Installation and Login/ How Do I Handle the Error "Restricted mode. Functions not available."?
Updated on 2026-07-27 GMT+08:00

How Do I Handle the Error "Restricted mode. Functions not available."?

Symptom

After you log in to CodeArts Agent, the message "Restricted mode. Functions not available." is displayed.

Cause Analysis

If you select No, I don't trust the authors when opening or creating a project, CodeArts Agent automatically switches to restricted mode. In this mode, all intelligent functions are disabled.

Solution

  1. In the corresponding tool, click Manage Trusted Zone or click Manage in the upper left corner of the tool. The Workspace Trust page is displayed.

    Figure 1 Workspace Trust page

  2. Select a trust scope based on your requirements. After that, CodeArts Agent can run properly.

    • Click Trust to trust only the current directory and its workspace files (D:\TestCode\demo).
    • Click Trust Parent to trust the entire parent directory (D:\TestCode) and all its subdirectories and workspace files.