Forum Discussion

Jasperdmx's avatar
20 days ago

Create Journal API Error 4245

I tried to create journal with 67 lines

but I got this error 

{
      "Name": "ValidationError",
      "Message": "BusinessLine_AccountPostable",
      "AdditionalDetails": "AccountId:(GeneralAccountingEventLine)",
      "ErrorCode": 4245,
      "Severity": "Error",
      "LearnMore": null
    }

what is this mean ? and how to know which account ?

api end point : https://accountrightapi.myob.cloud/#bba98b4e-2319-4768-96c5-c8d874f3d786
.../GeneralLedger/GeneralJournal
Thanks

  • Princess_R's avatar
    Princess_R
    MYOB Moderator

    Hi Jasperdmx,

     

    Welcome to the Community Forum!

     

    I get that you're encountering a "ValidationError" when trying to create a journal with 67 lines. Hopefully, another developer in the community can help you out soon. If not, you can always reach out to the support team at developer.myob.com. I've also moved your post to the MYOB API board for better visibility.

     

    Feel free to get in touch if there's anything else I can assist you with.

     

    Cheers,

    Princess