---
title: "Save failed with the following error: Null primary key not allowed"
date: 2020-05-01
description: "While saving an article, you encounter this error message \"Save failed with the following error: Null primary key not allowed\". 
"
author: "Jeroen Moolenschot"
---

# Save failed with the following error: Null primary key not allowed

While saving an article, you encounter this error message "Save failed with the following error: Null primary key not allowed".

 This error message indicates that the changes cannot be saved.

 
## Problem with #__assets table

 1 of the causes of this problem may be related to the assets table added in Joomla 1.6.

 To fix this, you need to go through the following 3 steps.

 
1. Go to Menus > all menu items. Click on the "Rebuild" button.
2. Go to Content > Categories. Click the "Rebuild" button.
3. Go to Content > Articles. Select all articles. Click the "Rebuild" button.

 ![assets opnieuw opbouwen j4](https://www.joomill.com/images/kennisbank/assets-opnieuw-opbouwen-j4.png)

 
## Problem with a plugin

 Another cause of this problem may lie in 1 of the plugins you have installed. Chances are that this is then a plugin in the "content" or "system" category.

 Go to **Extensions > Plugin Manager** and filter the plugins by Content (or System).

 ![content plugins](https://www.joomill.com/images/kennisbank/content-plugins.png)

 After this, disable and re-enable the plugins 1 by 1 to find out which plugin is causing the problem.

 Once you have found the plugin, contact the developer to solve the problem.


## Custom Fields

**Call2Action Titel:** Need help solving this problem?

