Trying to search with criteria that includes non-ASCII symbols returns a 400 ValidationError with message "Please provide search criteria".
Making the same request directly to the Mailosaur API works fine.
To reproduce:
// throws mailosaurError: { type: 'ValidationError', messages: { criteria: 'Please provide search criteria.' }, model: undefined }
// NOTE: the ellipsis is a single unicode character, not 3 ASCII periods
mailosaurClient.messages.search('SERVER_ID', { subject: 'Subject with ellipsis…' });
// works fine (and returns the email that includes the ellipsis)
mailosaurClient.messages.search('SERVER_ID', { subject: 'Subject with ellipsis' });
Trying to search with criteria that includes non-ASCII symbols returns a 400 ValidationError with message "Please provide search criteria".
Making the same request directly to the Mailosaur API works fine.
To reproduce: