Hello Team,
I am developing an Android application using Kotlin, Firebase Vertex AI, and the Gemini Flash model for image analysis. Recently, the app has been failing intermittently with the following errors in the Firebase console:
UNAVAILABLE
DECODE_PREEMPTED (“Preempted out of decode queue by a higher priority request”)
INTERNAL
Is this happening due to server-side bottlenecks or capacity limits on the free tier? How can we handle or mitigate these preemption errors in an Android/Kotlin production environment?
Any guidance or best practices would be greatly appreciated. Thank you!