- Strapi Version:4.3.4
- Operating System: WIndows
- Database: sqlite
- Node Version: 16.17.0
- NPM Version: 8.14.0
- Yarn Version:
Im sending a request like so, and im getting [insert field] must be defined eerrors. Im not sure how to proceed.
const response = await axios.post(
`${process.env.NEXT_PUBLIC_SERVER_URL}/api/podcasts`,
{ data: { data: { ...formValues, author: auth.user.id } } },
{
headers: {
Authorization: `Bearer ${auth.jwt}`,
},
},
);