This one wasted a lot of my time. We were building a custom connector to Business Central to test a few concepts. I come from a Dynamics 365 CE background and Business Central is a foreign system to me. Well how hard can it be. Business Central not so bad, but same strange concepts. This is a subject for a different post.
This post is about using ‘Basic Authentication’ to connect to a test custom connector using postman. For ‘Basic Authentication’ you use a User Name and password. The User Name to use is ‘User Name’ not the email address. The password is the web service access key (as below).
And here’s the HOWEVER,
You copy the characters, (to long to type for me)
Try sending the postman package.
But it fails non.
‘Authentication_InvalidCredentials’ – The server has rejected the client credentials.
So you try again, re-initialise the password etc.
Eventually you look at the ‘page source of Business Connect’s ‘User Card’ and ….
You have another look, the number of characters are different.
You double check this.
You post the longer password into postman
What it works now. Conclusion, the number of characters are not the same. The last few characters were missing.
Wow…
Recent Comments