Вообще не врубаюсь почему выскакивает эта ошибка
Uncaught DOMException: Failed to execute 'add' on 'IDBObjectStore': Evaluating the object store's key path did not yield a value.
at IDBOpenDBRequest.request.onupgradeneeded (<anonymous>:22:17)
const customerFData = [
{ 434: "Рекорд"}
];
const dbName = "the_Fname";
var request = indexedDB.open(dbName, 2);
request.onerror = function(event) {
// Handle errors.
};
request.onupgradeneeded = function(event) {
var db = event.target.result;
var objectStore = db.createObjectStore("keyvaluepairs", { keyPath: "Рекорд" });
objectStore.add(customerFData[0]);
};