Skip to main content

Notifications

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

How to OAuth Authenticate Web service URL in Al Language In Business Central.& How to insert data in Business Central Table from Authenticated URL.

(0) ShareShare
ReportReport
Posted on by 95

How to OAuth Authenticate Web service URL in Al Language In Business Central.& How to insert data in Business Central Table from Authenticated URL.

error :

System.InvalidOperationException: Misused header name. Make sure request headers are used with HttpRequestMessage, response headers with HttpResponseMessage, and content headers with HttpContent objects. at System.Net.Http.Headers.HttpHeaders.CheckHeaderName(String name) at System.Net.Http.Headers.HttpHeaders.Add(String name, String value) at Microsoft.Dynamics.Nav.Runtime.TrappableHttpOperationExecutor.<>c__DisplayClass0_0.<Execute>b__0() in s:\repo\src\Platform\Server\Prod.Ncl\Runtime\TrappableHttpOperationExecutor.cs:line 31 at Microsoft.Dynamics.Nav.Runtime.TrappableOperationExecutor.Execute(DataError errorLevel, Func`1 operation, Action`2 processNativeException) in s:\repo\src\Platform\Server\Prod.Ncl\Runtime\TrappableOperationExecutor.cs:line 34

how to solve this issue.
  • Verified answer
    divyeshchitte Profile Picture
    divyeshchitte 950 on at
    RE: How to OAuth Authenticate Web service URL in Al Language In Business Central.& How to insert data in Business Central Table from Authenticated URL.

    Hi Sejal,

    Kindly follow the below mentioned steps

    www.youtube.com/watch

    robertostefanettinavblog.com/.../

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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans