diff --git a/toargridding/toar_rest_client.py b/toargridding/toar_rest_client.py
index cfa30d7e966bf274091130309f906a08b66e7cd2..607dd0f7894d2df505407169e5bfe2f8f40023c1 100644
--- a/toargridding/toar_rest_client.py
+++ b/toargridding/toar_rest_client.py
@@ -217,9 +217,10 @@ class Connection:
                 print("Status Code: {e.response.status_code}")
                 print("Reason: {e.response.reason}")
                 print("Text: {e.response.text}")
+                #use inverse order for saving. the status endpoint should be more unique
+                self.cache_backup.put(status_endpoint, query_options.cache_key)
                 #will be overwritten in the next step...
-                self.cache_backup.put(query_options.cache_key, status_endpoint)
-                self.cache.remove(query_options.cache_key)
+                #self.cache.remove(query_options.cache_key)
             except:
                 raise RuntimeError(f"An error occurred during accessing a cached request")
             else: