Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

API calling(500 Error) for On-Prem Business Central

Posted on by 140
Hi All

I have On-Prem Business Central with Essential License, i want to call the BC web services using POSTMAN for testing, for that i have registered my App in azure portal. And i am able to generate(OAuth 2.0) the token from POSTMAN.  But when i call my web services with the token i got this error. 
 "error": {
        "code""Unknown",
        "message""IDX10231: Audience validation failed. Delegate returned false, securitytoken: 'System.IdentityModel.Tokens.Jwt.JwtSecurityToken'.  CorrelationId:  a0a947a7-494e-412b-b638-54153ac357a2."
    }

i have gone through many document but not able to resolve this. What steps i need to do here to resolve or Is it possible to do this on-prem Business central or not.
Does anyone have idea about this, please provide you feedback.

Thanks for your Help.
Categories:
  • SG-05091051-0 Profile Picture
    SG-05091051-0 140 on at
    API calling(500 Error) for On-Prem Business Central
    @Nitin Verma
    Thanks for your answer.

    could you please help me with the step to do this.
    Try to add your clientid in  Microsoft Entra Applications in Business central and try again.
     
    Thanks
  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    API calling(500 Error) for On-Prem Business Central
    Try to add your clientid in  Microsoft Entra Applications in Business central and try again.
     

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

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