Forum Discussion

neovinhtru's avatar
2 years ago

get list all accounts API error 404

I am using MYOB SDK version 2022.11.456.0 When I get list all accounts then I got error status code 404 Not Found

 

detail

 

MYOB.AccountRight.SDK.ApiCommunicationException: Encountered a communication error (https://arl2.api.myob.com/accountright/da54c91f-975d-49a0-bb46-92b94916fa2e/GeneralLedger/Account/?$count=true) ---> System.Net.WebException: The remote server returned an error: (404) Not Found.

 

Can you please let me know where am I going wrong?

  • Hi neovinhtru,

    Here are some of my notes on possible causes of this error. They may be out of date, but may give you some things to check. Are you using the PC version or Server version of AccountRight? Is the company file on this PC, another PC on the network, or in the cloud?

     

    Error: The remote server returned an error: (404) Not Found.

     

    Possible reason:

    The AccountRight company file no longer exists or has been upgraded so its GUID has changed.

     

    Possible Solution:

    Depends on how you select the file.

     

    Possible reason:

    Mismatch between AccountRight server and Client versions. 

     

    Possible Solution:

    Check and install the latest, matching versions.

     

    Possible reason:

    Mismatch between AccountRight server and API versions. 

    A new version of AccountRight server (SE) has been installed, but the API wasn’t, leaving the old API version still installed.