Reputation: 1
I followed this guide to set up the Commerce Scale Unit in self-hosted mode for my local development environment. My goal is developing an extension.
I'm trying to call the following API using Postman:
http://localhost:446/Commerce/Customers('2001')?api-version=7.3
I'm sending the request with the following headers:
Oun: 068
No authentication token included
However, the request returns a 401 Unauthorized error.
The response is the following:
{
"TypeName": "UserAuthenticationException",
"Exception": "{\r\n \"ErrorResourceId\": \"Microsoft_Dynamics_Commerce_Runtime_AuthenticationFailed\",\r\n \"LocalizedMessage\": \"A server side error occurred that prevent user from logging on. This may be due to one or more reasons; the user name or password may be incorrect. Please check the server log for detailed information or contact your system administrator.\"\r\n}",
"CorrelationId": "c899f9b2-86c4-4f1a-bf16-b0cb1d11166a"
}
My questions:
Any guidance or references would be greatly appreciated! Thanks in advance.
Upvotes: 0
Views: 14