Skip to main content

Notifications

Small and medium business | Business Central, N...
Answered

Postman API connection fail

Posted on by 2,433

Hi Guys

Trying to connect BC 17.5 version using GET in postman and no luck

  • Samantha73 Profile Picture
    Samantha73 2,433 on at
    RE: Postman API connection fail

    Thanks this helped and got it working, I had to ensure two things

    1. key not copying correctly as mentioned by Suresh

    2.License allocated to user . CSP login may not work but I'm not sure about this

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Postman API connection fail

    Make sure you use the webservice access key and to copy the web service access key try to expand the page because by default when you copy it will not show the full key.

  • Verified answer
    RE: Postman API connection fail

    I just tried to connect to SaaS here, also on 17.5. At first I also couild not connect. I think since last time, both BC and Postman have had updates. But I got it to work. This is my URL:

    api.businesscentral.dynamics.com/.../companies

    And my connection details:

    pastedimage1616581993294v1.png

    I know it does not help you that it works for me, but it should work. Please tripplecheck and try again. And also try the URL in a browser and see if that gives you different details.

  • RE: Postman API connection fail

    OK good point about SaaS, then indeed you cannot enable NTLM. Do you know if the same connection used to work OK in the past / earlier builds?

  • Samantha73 Profile Picture
    Samantha73 2,433 on at
    RE: Postman API connection fail

    I'm using BC SaaS so  "Use NTLM Authentication" is not available or I don't know where to find :)

  • RE: Postman API connection fail

    Hello,

    I think it can have a lot of reasons. First of all, I know it is obvious but do check: In Postman that the request is set up for Basic. Or to inherit from parent and then the parent is set up for Basic. And the User Name is as it shows in the BC client, and then copy in the web service key:

    pastedimage1616413125275v1.png

    I know that this is wha you say you do already, but sooo many times, problems in Postman is down to tripllechecking details.

    Then see if the BC Service Tier is set up to allow "Use NTLM Authentication":

    pastedimage1616413297648v2.png

    This tick oftem makes soap and odata connections start working.

    If still no luck, then install Telerik Fiddler, and run a trace and see if that catches some more details.

    Also looking forward to hearing from others if they have seen other reasons for this.

  • lynix_x Profile Picture
    lynix_x 255 on at
    RE: Postman API connection fail

    Hey,

    i have same issue, did you find any solution..

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.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans