Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Document Routing Agent (DRA) 400 (Internal Server Error)

(0) ShareShare
ReportReport
Posted on by 306

When trying to register a network printer through the DRA (when running as desktop application), I get the error below:

pastedimage1679358483723v1.png

Does anyone know anything about this?

  • Jsabanovski Profile Picture
    306 on at
    RE: Document Routing Agent (DRA) 400 (Internal Server Error)

    Hi Mohit,

    I tried it and it still gives me the same error . 

  • Suggested answer
    Mohit Rampal Profile Picture
    12,558 Moderator on at
    RE: Document Routing Agent (DRA) 400 (Internal Server Error)

    As the error says that record already exists so I would assume that someone registered that printer earlier and then probably deleted from D365 F&O. There is TokenCache2.dat file in below path. Sign out and Close your DRA application, take a backup of this TokenCache2 file. Delete the TokenCache2 file and start DRA application. Then try to register the printer.

    Tip: You wont see ProgramData folder in C drive so type manually (C:\ProgramData\Microsoft\Microsoft Dynamics 365 for Operations - Document Routing)

    pastedimage1679456838440v3.png

  • Jsabanovski Profile Picture
    306 on at
    RE: Document Routing Agent (DRA) 400 (Internal Server Error)

    No, but looking at it I get this information on that error:

    pastedimage1679454553411v1.png

    pastedimage1679454580863v2.png

  • Suggested answer
    Mohit Rampal Profile Picture
    12,558 Moderator on at
    RE: Document Routing Agent (DRA) 400 (Internal Server Error)

    Have you checked Event Viewer logs?

    Go to Event Viewer-->Application and Services Logs > Microsoft > Dynamics > AX-DocumentRouting and check both Admin and Operational sections.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,558 Moderator on at
    RE: Document Routing Agent (DRA) 400 (Internal Server Error)

    Have you checked Event Viewer logs?

    Go to Event Viewer-->Application and Services Logs > Microsoft > Dynamics > AX-DocumentRouting and check both Admin and Operational sections.

  • Jsabanovski Profile Picture
    306 on at
    RE: Document Routing Agent (DRA) 400 (Internal Server Error)

    Hi Mohit,

    On our server and yes. 

  • Mohit Rampal Profile Picture
    12,558 Moderator on at
    RE: Document Routing Agent (DRA) 400 (Internal Server Error)

    Hi, Where is the printer installed and have you signed in to DRA application using Admin account.

  • Suggested answer
    Charlotte X Profile Picture
    on at
    RE: Document Routing Agent (DRA) 400 (Internal Server Error)

    Hi Jsabanovski,

    I found an old thread mentioning the same error. You can refer to it:

    (+) Questions about the Document Routing Agent - Dynamics 365 Finance Forum Community Forum

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,127 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,871 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans