Skip to content

Issue with connection to Articulate - Microseconds in call #619

@rahepler

Description

@rahepler

Bug Report

Expected behavior/code
We are using Articulate Storyline to work with xAPI statements. Storyline has a way of adding the connection to the LRS as part of the presentation. This means that you can add the endpoint, username, and password in the presentation export and this will be used to send the xAPI statements. It is expected that the connection would work as expected from storyline to connect to the endpoint and allow xAPI statements to be sent from Articulate to our LRS.

Actual Behavior
Articulate Storyline has a way to connect a presentation directly to the LRS by giving it your endpoint, key and secret. We setup the LRS and tried adding it to the Articulate product but it was giving us connection failures due to Articulate including micro-seconds in their call.

Actual error from GET statement:
Value: 2024-09-16T12:16:25.1717637-04:00 cannot be parsed as DateTime64(6) for query parameter 'since' because it isn't parsed completely: only 27 of 33 bytes was parsed: 2024-09-16T12:16:25.1717637. (BAD QUERY PARAMETER) (version 24.6.2.17 (official build))

Steps to Reproduce

  1. Got the LRS connection in storyline and add your credentials in.
  2. Test the connection.
  3. Look at the log in Ralph.

Environment

  • Ralph version: version 24.6.2.17 (official build)
  • Platform:

Possible Solution
Add a bit of code that truncates the incoming DateTimes to be what Ralph needs to accept it. Nothing fancy.

Additional context/Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions