Skip to main content

Notifications

Business Central forum
Suggested answer

OData APIs are not working

editSubscribe (0) ShareShare
ReportReport
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 10,155 User Group Leader 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

Helpful resources

Quick Links

Take the Community feedback survey!

Answer this brief 15-question survey about your Community experience…

Demystifying Copilot: Service Edition with Sundar Raghavan

Sundar answers more questions about Copilot for Service...

Dynamics 365 Business Central vs Finance and SCM

Take a look at the key differences between Business Central and…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,375 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 223,308 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans