This error happens with using request() as well. The weird thing is that it worked perfectly in Strapi v3. @DMehaffy