diff --git a/cps/services/SyncToken.py b/cps/services/SyncToken.py
index 4ad5fa2ce..26eb396c8 100644
--- a/cps/services/SyncToken.py
+++ b/cps/services/SyncToken.py
@@ -144,6 +144,8 @@ class SyncToken:
except TypeError:
log.error("SyncToken timestamps don't parse to a datetime.")
return SyncToken(raw_kobo_store_token=raw_kobo_store_token)
+ except KeyError:
+ books_last_id = -1
return SyncToken(
raw_kobo_store_token=raw_kobo_store_token,
diff --git a/cps/templates/config_edit.html b/cps/templates/config_edit.html
index cf3c7bcd2..ba8d4f9e0 100644
--- a/cps/templates/config_edit.html
+++ b/cps/templates/config_edit.html
@@ -20,7 +20,7 @@
{% if filepicker %}
-
+
{% endif %}