Announcements
No record found.
hello all,
I am trying to get access-token by calling rest API in business central. I am getting error as per the below image. I need to pass several parameters in body which includes grand-type,resourse,client_id,username and password while making call through al code. did some one face this issue?
Below is the api:
Please check this blog.
It may help.
www.msnjournals.com/.../generic-oauth2-library-for-business-central
Hello mohana,
I tried adding parameters to jsonobject and pass to http content .but I'm getting same error.below image contain code which I have written.can you suggest
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 2,091 Super User 2026 Season 1
YUN ZHU 1,032 Super User 2026 Season 1
Dhiren Nagar 946 Super User 2026 Season 1