500 Internal Server Error when querying the Journal Transactions

This thread is now archived and closed to new comments.
Some of the links provided in this thread may no longer be available or relevant.
If you have a question please post a new topic.
Contributing Partner BDS_Wing
9 Posts
Contributing Partner

500 Internal Server Error when querying the Journal Transactions

I am expericing the below strange API response for some local MYOX files (2016.X) by using HttpWebRequest in my code:

 

500 - Internal Server Error : {

  "Errors": [

    {

      "Name": "InternalError",

      "Message": "An exception was thrown that was not handled correctly. If this situation persists please contact developers@myob.com for further assistance.",

      "AdditionalDetails": null,

      "ErrorCode": 20,

      "Severity": "Error"

    }

  ],

 "Information": "Warning, error messages have not been finalised in this release and may change"

}

 

The success url request is (date range: 01-Jul-2015 to 29-Jul-2015):

http://localhost:8080/AccountRight/36bdfd52-f055-4b23-9d14-4079fcbe7209/GeneralLedger/JournalTransaction?$filter=DateOccurred%20ge%20datetime%272015-07-01T00:00:00.0000000%27%20and%20DateOccurred%20le%20datetime%272015-07-29T23:59:59.9999999%27&$top=1000&$skip=0

 

And the fail url request is (date range: 30-Jul-2015 to 31-Jul-2015):

http://localhost:8080/AccountRight/36bdfd52-f055-4b23-9d14-4079fcbe7209/GeneralLedger/JournalTransaction?$filter=DateOccurred%20ge%20datetime%272015-07-30T00:00:00.0000000%27%20and%20DateOccurred%20le%20datetime%272015-07-31T23:59:59.9999999%27&$top=1000&$skip=0

 

Both url requests are 100% working from any Internet brower

I did check the journal transactions inside the file for the above date range (30-Jul-2015 to 31-Jul-2015) by the MYOB AR app but I couldn't find any special characters in any fields.

 

Have anyone seen this issue before?

 

Thanks.

 

 

Didn't find your answer here?
Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post