web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)

(1) ShareShare
ReportReport
Posted on by 308

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?

I have the same question (0)
  • 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

  • Mohit Rampal Profile Picture
    12,563 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.

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

    Hi Mohit,

    On our server and yes. 

  • Suggested answer
    Mohit Rampal Profile Picture
    12,563 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,563 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
    308 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,563 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
    308 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
    DB-22101133-0 Profile Picture
    2 on at
    Document Routing Agent (DRA) 400 (Internal Server Error)
    Late to this conversation but I did find a fix when I was receiving the same error message.
     
    Go to the event viewer location as recommended by Mohit above.
     

    Look in the Operational menu and find the Error message created by the above 400 Internal Server Error.

     

    In the details tab, I found the following.

     

     

    I found the above printer in the Doc Routing Agent printer list, unticked it and clicked Register.  The error message did not appear and I was able to tick and add the new printers I wanted.

     

    Can't say this will be the same issue you had but it did fix the issue for me.

     

     

     

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,964

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 823 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 564 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans