Body: <p>I'm using Civi 5.70.0 on WordPress. I'm trying to utilize the Scheduled Reminders, but when testing it, no email is being sent, and I'm getting this the message &quot;Expected one Case but found 25&quot;. I saw all kind of similar messages, where instead of Case there were Contribution, PaymentProcessor, Contact etc. but none of Case. Furthermore, although I looked at some of the other questions and answers, I still don't understand what does the message mean nor how to cope with.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-15T02:53:48.683Z
Comments.Text: Is there more information in [ConfigAndLog](https://civicrm.stackexchange.com/questions/15931/where-are-the-configandlog-and-templates-c-directories)?
Comments.UserDisplayName: Demerit
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-18T09:41:29.157Z
Comments.Text: Actually, no @Demerit. The same time stamp where the Scheduled Jobs Listing noting an error, the ConfigAndLog shows no error, just:
  
  "2024-02-18 08:00:02+0000  [info] Sending Scheduled Reminder 1 to 1 recipients"
Comments.UserDisplayName: Itamar
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-21T16:56:25.513Z
Comments.Text: The Expected One Case but got 25 is where the CiviCRM API does not have a parameter - eg a case id to select the case and then pass that on. It just finds the first 25.  Any more details on how you are setting the Scheduled reminders up might be helpful.
Comments.UserDisplayName: Tony Horrocks
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2024-02-22T08:26:10.030Z
Comments.Text: Thanks @TonyHorrocks. I've set a Reminder based on Activity. I selected one Activity Type, one Status, and added a relative date before the Activity Date to trigger it. I skipped the Effective From, and set Activity Assignee as Recipients
Comments.UserDisplayName: Itamar
Tags: <error><scheduled-reminders>
Title: Scheduled Reminder error: Expected one Case but found 25
ThreadText: # Scheduled Reminder error: Expected one Case but found 25
  
  (Asked by: username_0 on 2024-02-14)
  
  I'm using Civi 5.70.0 on WordPress. I'm trying to utilize the Scheduled Reminders, but when testing it, no email is being sent, and I'm getting this the message "Expected one Case but found 25". I saw all kind of similar messages, where instead of Case there were Contribution, PaymentProcessor, Contact etc. but none of Case. Furthermore, although I looked at some of the other questions and answers, I still don't understand what does the message mean nor how to cope with.
  
  **Tags:** error, scheduled-reminders
  
  > **Comments:**
  > **username_1**: Is there more information in [ConfigAndLog](https://civicrm.stackexchange.com/questions/15931/where-are-the-configandlog-and-templates-c-directories)?  
  > **username_0**: Actually, no @username_1. The same time stamp where the Scheduled Jobs Listing noting an error, the ConfigAndLog shows no error, just:  "2024-02-18 08:00:02+0000  [info] Sending Scheduled Reminder 1 to 1 recipients"  
  > **username_2**: The Expected One Case but got 25 is where the CiviCRM API does not have a parameter - eg a case id to select the case and then pass that on. It just finds the first 25.  Any more details on how you are setting the Scheduled reminders up might be helpful.  
  > **username_0**: Thanks @username_2. I've set a Reminder based on Activity. I selected one Activity Type, one Status, and added a relative date before the Activity Date to trigger it. I skipped the Effective From, and set Activity Assignee as Recipients  
  
  ---
  
  ## 0 answers
  
  