Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX forum
Answered

Dynamics 365 Warehouse App error

Posted on by 80

Hi there,

we have configured the new D365 warehouse App in our AX7 environment.

It worked perfectly for few days. But right now, it will show below error while loading for a while (~5sec).

"The server returned an unknown error. This may happen if you are simultaneously logged in using more than one device. Please log in again to continue."

We have tried to delete the Warehouse worker session on D365 client and remove all the online users on that server. We confirmed that there is only 1 device configured with warehouse app and only 1 worker logs in at the same time. Please advise if there is any way to clear "cache" for this warehouse app? The error has blocked us from receiving products and perform stock transfer. Many thanks.

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,148 on at
    RE: Dynamics 365 Warehouse App error

    I think it depends on what custom controls you have. If any.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics 365 Warehouse App error

    if you know what EDT is, right?

    Which EDT must delete?

    Thanks

    Please reply . . . 

  • TomC. Profile Picture
    TomC. 80 on at
    RE: Dynamics 365 Warehouse App error

    We removed all EDT from those input fields and problem solved.

    We use #WHSRFUndefinedDataType instead.

    FYI:

    ret += [this.buildControl(#RFText, #TmpField, "Field label", 1, pass.lookupStr(#TmpField),#WHSRFUndefinedDataType, '', 0)];

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics 365 Warehouse App error

    hii .

    your problem already done?

    now my problem same like u, you can give me suggest ?

  • TomC. Profile Picture
    TomC. 80 on at
    RE: Dynamics 365 Warehouse App error

    Thanks Verma.

    Actually we found same issue after debugging. We removed all EDT from those input fields and problem solved.

  • Verified answer
    VermaMC Profile Picture
    VermaMC 465 on at
    RE: Dynamics 365 Warehouse App error

    I have debugged depper and got to know that the custom control has the edt which is already used by another standard control which is creating conflict. So, I created a new EDT and used it here and it worked. You can also use the standard control to serve the purpose I believe.

  • VermaMC Profile Picture
    VermaMC 465 on at
    RE: Dynamics 365 Warehouse App error

    Thanks for the reply, Guy Terry.

    It is working fine in Emulator. However, I am facing issues in app. After solving the above error, it worked better. But, now, when I click on any menu item in the app, it is giving the below error.

    HHT_2300_.JPG

    I debugged further in the system for the root cause and found the error is coming from WHSWorkUserSessionRequestValidator::assertAgainstSessionState(xx)  where the _sessionStateCheck and requestSessionStateCheck both are same which is leading to the error. Here is the error message "Unexpected difference between request and session data. warehouse mobile devices xml protocol violated. Error when invalid or tempered request is passed to warehouse mobile devices service."

    Can you please help me how to solve it?

  • Guy Terry Profile Picture
    Guy Terry 28,378 on at
    RE: Dynamics 365 Warehouse App error

    Try logging in via the form rather than the app, see if you can eliminate whether the problem is at the app end or Finance&Operations end.

    https://url.dynamics.com/?cmp=USMF&mi=action%3AWHSWorkExecute

  • VermaMC Profile Picture
    VermaMC 465 on at
    RE: Dynamics 365 Warehouse App error

    Hi All,

    I am also facing the same issue. I have tried ending the user session. But, no luck.

    Please suggest any solution for it.

    Thanks.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics 365 Warehouse App error

    Warehouse management > Inquiries and reports > Mobile device logs > Work user sessions

    There you have button "End session"

    It helped us :)

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,513 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,862 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans