web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Dynamics 365 Warehouse App error

(0) ShareShare
ReportReport
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.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

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

    There you have button "End session"

    It helped us :)

  • VermaMC Profile Picture
    471 on at

    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.

  • Guy Terry Profile Picture
    28,924 Moderator on at

    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
    471 on at

    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?

  • Verified answer
    VermaMC Profile Picture
    471 on at

    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.

  • TomC. Profile Picture
    80 on at

    Thanks Verma.

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

  • Community Member Profile Picture
    on at

    hii .

    your problem already done?

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

  • TomC. Profile Picture
    80 on at

    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
    on at

    if you know what EDT is, right?

    Which EDT must delete?

    Thanks

    Please reply . . . 

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans