You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a contact's next hypothetical retry attempt is after the survey's end date, the SurveyBroker raises an error ("next active window not found") - and retries contacting the same respondent on the next poll.
Surveda correctly records the amount of retries it does, even if greater than the intended one - we've seen 96 attempts registered in the Respondents table in the UI.
The issue happens both on IVR and SMS modes.
We've 100% reproduced this setting a survey with a single active day, next to it's ending time. As a concrete example, on Thursday 03-OCT around 16:30 we've launched surveys that are active only on Thursdays from 16:00 to 18:00, with end date tomorrow (ie, 04-OCT).
When the SurveyBroker polls the survey, it sends the contact attempt to the proper channel, and then crashes with the mentioned error. The next time it polls the same survey, it sends the contact attempt once again, and again crashes.
It's interesting to note that adding a single retry seems to avoid this issue.
I've tested an IVR survey with similar settings (single active day, active hours finish soon, survey ends tomorrow), but this time with a single 10m retry. This time, the survey worked as expected - survey started around 17:11, first call at 17:12 (didn't pick up), second call at 17:22 (didn't pick up), then the survey automatically finished. No errors logged either.
When a contact's next hypothetical retry attempt is after the survey's end date, the SurveyBroker raises an error (
"next active window not found"
) - and retries contacting the same respondent on the next poll.Surveda correctly records the amount of retries it does, even if greater than the intended one - we've seen 96 attempts registered in the Respondents table in the UI.
The issue happens both on IVR and SMS modes.
We've 100% reproduced this setting a survey with a single active day, next to it's ending time. As a concrete example, on Thursday 03-OCT around 16:30 we've launched surveys that are active only on Thursdays from 16:00 to 18:00, with end date tomorrow (ie, 04-OCT).
When the SurveyBroker polls the survey, it sends the contact attempt to the proper channel, and then crashes with the mentioned error. The next time it polls the same survey, it sends the contact attempt once again, and again crashes.
(Survey 4240 is IVR; we've seen the exact same error in SMS)
See #1862 for context.
The text was updated successfully, but these errors were encountered: