How to call base API using Grant type client Credentials in business central
Khush shah
0
Reputation points
Hi I am try to post base API of sales header using Grant type :- client Credentials
It is generating the token but when I am try to hit the POST method it is giving me the below error
<error xmlns="http://docs.oasis-open.org/odata/ns/metadata">
<code>Unauthorized</code>
<message>The credentials provided are incorrect</message>
</error>
header which I have given
And When I am try with Grant type :- authorization Code I am getting the token as well as my API is also working
Is there any permission issue which I need to resolve or any other issue.
Sign in to answer