Skip to main content

Notifications

Business Central forum

OData APIs are not working

Posted on by 30

Odata and OData V4 APIs are working fine in web browser but in postman it is throwing 401 unauthorized error. I have tried with both Basic Auth and NTLM Authentication.

Categories:
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
  • Ravatsinh Profile Picture
    Ravatsinh 5 on at
    RE: OData APIs are not working

    did you found any solution ?

  • Prashant_Kumar Profile Picture
    Prashant_Kumar 30 on at
    RE: OData APIs are not working

    Yes I am using "Web Service Access Key" as password in the basic Authentication. If I check the windows event log it says "This license is not compatible with this version of Business Central.". My question is if it is a license issue then the API shouldn't work in web browsers.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: OData APIs are not working

    Did you use the "Web Service Access Key" as the password in the basic Authentication? Works ok for me in Postman.

    Tero

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans