Index does not accept NULL (Error 1886)

Your key index expression evaluated to NULL, which is an invalid value an index. This can often happen with a primary or candidate keys.

Change record values so the expression does not evaluate to NULL.