select.value = data.activatableProducts[0].id;
        })
        .catch((error) => {
          let select = document.getElementById("exam");
          select.innerHTML = "";
          let option = document.createElement("option");
          option.value = "";
          option.text = "No products found";
          select.appendChild(option);
        });
    }

    const debouncedKeyHandler = debounce(checkKeyProduct, 500);
    document.getElementById("activation-key").addEventListener("input", (event) => {
