Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Under review by Community Managers

Under review

Thank you for your post! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

User ID not being accessed through Postman

Posted on by 18
Hello everyone,
I have created an API for requesting approval for a particular purchase order through third party application. Now the thing is that, whenever I am testing the API, I am getting the following error:
I debugged the code, the error is coming from /Approval Mgmt./ codeunit. Whenever current user is not setup on approval user setup window, this error is raised. However, I have already setup the user. Maybe the user id is not being accessed through Postman as I am not passing it in my procedure.
There is no integration event for this. How can I modify this and pass user id? 
Kindly help. 
Categories:

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,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans