Skip to main content
Skip table of contents

Error: "Return argument has an invalid type"

This support note applies to:

  • AO Document Manager (AU)
  • AO Document Manager (NZ)
  • AE Document Manager (NZ)
  • AE Document Manager (AU)
Article ID: 35597

In MYOB Document Manager (DM) you may experience the following error "Return argument has an invalid type"  when opening or saving documents within DM after a server migration or upgrade to a new version.

To resolve this error you will need to run the DM_Config.exe on the server where the data resides, known as the Filestore Server.

MYOB recommends running this utility when users are logged out of all MYOB products. 

For further instructions refer to Locating and running DM_Config.exe

If the error is only occurring when saving emails you may not be running the current workstation version of MYOB Document Manager.  Reinstall MYOB Document Manager workstation on the affected machines. 

For details refer to the relevant article:

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.