title: fetch data using some condition in strapi
body: <p>I am creating api using strapi.
  i have a situation, i want to fetch data </p>
  
  <blockquote>
    <p>where audience_name like '%audienceName%' and created_by = 4;</p>
  </blockquote>
  
  <p>below is my strapi code</p>
  
  <pre><code>findByName: async (ctx) =&gt; {
          const audienceName = ctx.params.name;
          return strapi.services.audience.find({
              audience_name: { 'like' : audienceName},
              created_by: ctx.state.user.id
          });
      },
  </code></pre>
  
  <p>but i am not able to get the data it is trowing internal server error as below.
  <a href="https://i.stack.imgur.com/HiDH6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HiDH6.png" alt="enter image description here"></a></p>