I'm trying to use Deep Linking to create multiple exercises in Moodle.
I'm having an issue in the last step where even though Moodle receives multiple LtiResourceLinks correctly, and shows it in the confirmation, it then only creates one of them (the last one). The screenshots below shows the multiple exercises being returned. However, after clicking "OK", in the course page, it only shows one of them.

This is the content of the signed JWT:
{
"sub": "3cfLCn90tUDdxEN",
"aud": "http://localhost:81",
"https://purl.imsglobal.org/spec/lti/claim/message_type": "LtiDeepLinkingResponse",
"https://purl.imsglobal.org/spec/lti/claim/deployment_id": "20",
"https://purl.imsglobal.org/spec/lti/claim/version": "1.3.0",
"https://purl.imsglobal.org/spec/lti-dl/claim/content_items": "[{\"type\":\"ltiResourceLink\",\"title\":\"Title 1\",\"url\":\"http:\\/\\/localhost:9000\\/courses\\/28\\/exercises\\/12\"},{\"type\":\"ltiResourceLink\",\"title\":\"Title 2\",\"url\":\"http:\\/\\/localhost:9000\\/courses\\/28\\/exercises\\/13\"},{\"type\":\"ltiResourceLink\",\"title\":\"Title 3\",\"url\":\"http:\\/\\/localhost:9000\\/courses\\/28\\/exercises\\/16\"},{\"type\":\"ltiResourceLink\",\"title\":\"Title 4\",\"url\":\"http:\\/\\/localhost:9000\\/courses\\/28\\/exercises\\/19\"}]",
"iss": "3cfLCn90tUDdxEN",
"exp": 1669029192,
"iat": 1669029132,
"jti": "61999577-19e5-4b2a-987f-5d159a4a61c6"
}
What is going wrong? Am I maybe not returning all the required fields for each "ltiResourceLink"?
Thanks for the help!