> ## Documentation Index
> Fetch the complete documentation index at: https://help.draftable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuring Error Messages in Draftable Legal for End Users

> As an administrator, you can customize the error messages shown to end users when they encounter an issue with Draftable Legal. Additionally, you can control the default file attachments policy, custom contact details, and the email content generated when users report errors. This guide walks you through configuring these settings using Group Policy.

## 1. Configuring the Custom Error Message

The custom error message that users see can be configured via Group Policy. This allows you to enter a personalized message that will be displayed whenever an error occurs. **Note:** Please always ensure you are using the latest ADMX/ADML templates which can be [found here.](/hc/en-us/articles/28666057117721-Draftable-Legal-Group-Policy-Template-Files)

### Steps to Edit the Error Message:

<Steps>
  <Step>
    Open your preferred **Group Policy Editor**
  </Step>

  <Step>
    Navigate to the group policy object "Configure customer error message"
  </Step>

  <Step>
    Enable the setting and enter your custom error text in the provided field.

    * **Example**: "An unexpected error has occurred. Please contact support."
  </Step>

  <Step>
    Apply and save the policy.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/draftable/4wA536a5tz8kQA7Z/images/draftable-legal-configuring-error/image-1.png?fit=max&auto=format&n=4wA536a5tz8kQA7Z&q=85&s=7145484add067d784284d4147ecd1703" alt="" width="1089" height="1034" data-path="images/draftable-legal-configuring-error/image-1.png" />
</Frame>

To achieve the same result via registry, please edit the following key:

```bash theme={null}
Key: HKCU:\\Software\\Draftable\\Feature  
Value name: CustomCompareErrorMessage  
Value type: REG\_SZ  
Value data: <key>
```

Where the value of \<key> is your custom error message. 

## 2. Allowing or Disabling File Attachments with Errors

By default, users can choose to attach obfuscated files when they report an error. You can control whether users are allowed to send such attachments by configuring the "Enable custom contact details" setting.

<Note>
  From version 26.6, the feature that produces these files is called **Create safe file for sharing** in the app (under **Help & Troubleshooting → Diagnostics**). The Group Policy object and registry value name (`NeverShareObfuscatedDocuments`) referenced below are unchanged.
</Note>

### Steps to Control File Attachments:

<Steps>
  <Step>
    Open your preferred **Group Policy Editor**.
  </Step>

  <Step>
    Navigate to the group policy object "Never Share Obfuscated Documents"
  </Step>

  <Step>
    Enable the setting to not allow your users to share Obfuscated documents
  </Step>

  <Step>
    Disabling this setting will allow users to share Obfuscated documents
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/draftable/4wA536a5tz8kQA7Z/images/draftable-legal-configuring-error/image-2.png?fit=max&auto=format&n=4wA536a5tz8kQA7Z&q=85&s=975cd1107de326ea3ec1740111109a13" alt="" width="1095" height="1021" data-path="images/draftable-legal-configuring-error/image-2.png" />
</Frame>

To achieve the same result via registry, please edit the following key:

```bash theme={null}
Key: HKCU:\\Software\\Draftable\\Compare  
Value name: NeverShareObfuscatedDocuments  
Value type: REG\_DWORD  
Value data: <key>
```

Where the \<key> value of 1 is set to enabled, and 0 for disabled. 

## 3. Configuring the Email Body for Error Reports

When an error occurs, Draftable Legal can generate an automatic email with the error details. You can customize the email body that is sent with the error log.

### Steps to Edit the Error Report Email Body:

<Steps>
  <Step>
    Open your preferred **Group Policy Editor**.
  </Step>

  <Step>
    Navigate to "Configure custom contact support email body"
  </Step>

  <Step>
    Enable the setting and input the desired email body text.

    * **Example**: "Please describe the issue you encountered and attach any relevant screenshots."
  </Step>

  <Step>
    Apply and save the policy.
  </Step>
</Steps>

<Frame>
  <img src="https://mintcdn.com/draftable/4wA536a5tz8kQA7Z/images/draftable-legal-configuring-error/image-3.png?fit=max&auto=format&n=4wA536a5tz8kQA7Z&q=85&s=bbf8f218a4314bb592e229a7419478c1" alt="" width="1127" height="1022" data-path="images/draftable-legal-configuring-error/image-3.png" />
</Frame>

To achieve the same result via registry, please edit the following key:

```bash theme={null}
Key: HKCU:\\Software\\Draftable\\Feature  
Value name: CustomEmailSupportMessage  
Value type: REG\_SZ  
Value data: <key>
```

Where the value of \<key> is your custom email body text.

That concludes this article, if you have any issues with applying these settings or questions, please get in touch with our support team at [support@draftable.com](mailto:support@draftable.com)
