Invalid Client Id

let token = Buffer.from(
${process.env.ZOOM_API_KEY}:${process.env.ZOOM_API_SECRET}
).toString(“base64”);

  let data = await axios.post(`https://zoom.us/oauth/token`, {
    params: {
      grant_type: "authorization_code",
      code: body.code,
      redirect_uri: "https://fa02c625ca10.in.ngrok.io",
    },
    headers: {
      Authorization: `Basic ${token}`,
    },
  });

Error {
error: “invalid_client”
reason: “Invalid client_id or client_secret”
}
please help through this

nvm its fixed. i misplaced header

Hey @sudingrng,

I’m glad to hear that you resolved your issues! If you encounter any further issues or questions, please don’t hesitate to reach out.

Thanks,
Max