Skip to main content

Notifications

Business Central forum
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.

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.
Categories:
  • 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,469 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans