# Error when calling Analytics AddInstall method

If you get the following error when calling the Analytics AddInstall method, follow the procedure below to resolve this issue:

**Error:**

Cannot insert the value NULL into column 'DaysUsedUpdated', table 'AnalyticsInstalls'; column does not allow nulls. INSERT fails.

**Procedure for SQL Server:**

* Launch SQL Server Management Studio
* Go to Tools / Options / Designer
* Uncheck the option "Prevent saving changes that require table re-creation"
* Go to the QLM database in SQL Server
* Expand the Tables node
* Right mouse click the AnalyticsInstalls node and select **Design**
* Locate the DaysUsedUpdated field and check the **Allow Nulls** option
* Save the table schema
* Revert the change to the "Prevent saving changes that require table re-creation" made above


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.soraco.co/docs/faq/error-when-calling-analytics-addinstall-method.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
