Hi. I have been trying to send request to obtain access token to send data into the CRM. However, I'm unable to get the access token due to CORS & Bad Request problem. I'm not well versed in sending request to Microsoft via fetch method. I have attached the images below that shows my snippet code and the error I'm getting.
The live site is deployed on Netlify server.
I tried enabling CORS on my browser and solved the CORS issue but the Bad Request was still there.
If this answer helps you, please mark this as verified.
Thanks,
Tamilarasu Arunachalam
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.