Planning Analytics

Planning Analytics

Get AI-infused integrated business planning

 View Only
Expand all | Collapse all

MessageLogEntries not working with timestamp from TailMessageLog

  • 1.  MessageLogEntries not working with timestamp from TailMessageLog

    Posted Wed March 17, 2021 05:25 PM
    I'm trying to use TailMessageLog to get all MessageLogEntries that occurred after the specified timestamp. The TailMessageLog() function returns the expected value containing the current timestamp. For example:

    {

        "@odata.context""$metadata#",

        "value""MessageLogEntries/!delta('0[4096]2336357955@54920!2150929191')"

    }

    However, when I try to make a call to get all of the MessageLogEntries, I get the following error:

    {

        "error": {

            "code""248",

            "message""Invalid message log file format; line exceed internal buffer size!"

        }

    }

    Has anyone seen this before, and are there any recommendations?

    ------------------------------
    Nina Gordy
    ------------------------------

    #PlanningAnalyticswithWatson


  • 2.  RE: MessageLogEntries not working with timestamp from TailMessageLog

    Posted Mon March 22, 2021 05:13 AM
    Hi Nina,

    I'm afraid the error message you are getting is telling already and I can confirm it is by itself unrelated to using the tail as the starting point. Apparently, there is a line in your message log file that is longer than the maximum expected line length for which that referenced internal buffer was created (which seems to be 128 kilobytes). 

    I'd be happy to argue that's a bug and get that resolved. Feel free to (read: please do) log a support ticket for this issue (and make sure you tell me the number;-).  In the meantime, I'll make a note internally as well and make sure it doesn't get lost.

    Cheers,

    ------------------------------
    Hubert Heijkers
    ------------------------------