stable-horde-flutter
stable-horde-flutter copied to clipboard
Exception: "Waiting Prompt with ID 'ab1bb368-101d-4dd1-acbc-4eab0fa121aa' not found."
Sentry Issue: STABLE-HORDE-MOBILE-C
_Exception: Exception: Failed to get task status: 404 {"message": "Waiting Prompt with ID 'ab1bb368-101d-4dd1-acbc-4eab0fa121aa' not found."}
File "tasks_bloc.dart", line 181, in _TasksBloc._retrieveTaskResult
File "tasks_bloc.dart", line 251, in _TasksBloc._waitOnTask
This probably happens when a user requests an image, leaves the app, comes back a few hours later (after the stable horde backend has expired the image).
To fix this, I think we can either:
- Have the app request the image in the background.
- Have our own simple backend that requests the image and persists it.
(I would prefer the second option since it would be more robust, but it's more work).
I think we should punt on this for the time being, since it's a big architectural change. Let's focus on the easier issues, and revisit this once other stuff is more stable.