diff --git a/lib/reducers/create-otp-reducer.js b/lib/reducers/create-otp-reducer.js
index <HASH>..<HASH> 100644
--- a/lib/reducers/create-otp-reducer.js
+++ b/lib/reducers/create-otp-reducer.js
@@ -714,13 +714,16 @@ function createOtpReducer(config) {
           }
         })
       case 'FIND_STOPS_FOR_PATTERN_RESPONSE':
+        if (!action.payload?.stops || action.payload.stops.length === 0)
+          return state
+
         return update(state, {
           transitIndex: {
             routes: {
               [action.payload.routeId]: {
                 patterns: {
                   [action.payload.patternId]: {
-                    stops: { $set: action.payload?.stops }
+                    stops: { $set: action.payload.stops }
                   }
                 }
               }
refactor: correctly avoid missing stopTimes crash