We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moodle WP uses non-standard language codes. "en_us" is "en_us_wp". The LRS will reject invalid language codes.
object(TinCan\LRSResponse)#264 (3) { ["success"]=> bool(false) ["content"]=> string(133) "{"errorId":"29af973e-2c89-44fc-9673-a19673aac9d8","warnings":["Problem in 'statements.0.context.language'. Received '\"en_us_wp\"'"]}" ["httpResponse"]=> array(4) { ["status"]=> int(400) ["headers"]=> array(6) { ["contentType"]=> string(16) "application/json" ["date"]=> string(29) "Mon, 15 May 2023 15:09:41 GMT" ["etag"]=> string(34) "W/"85-lWz0Uer5h1xvDfIgcQc8C710QjY"" ["apiConsistentThrough"]=> string(24) "2023-05-15T15:09:41.306Z" ["apiVersion"]=> string(5) "1.0.3" ["contentTypeCharset"]=> string(5) "utf-8" } ["_content"]=> string(133) "{"errorId":"29af973e-2c89-44fc-9673-a19673aac9d8","warnings":["Problem in 'statements.0.context.language'. Received '\"en_us_wp\"'"]}" ["_metadata"]=> array(11) { ["crypto"]=> array(4) { ["protocol"]=> string(7) "TLSv1.2" ["cipher_name"]=> string(27) "ECDHE-RSA-AES128-GCM-SHA256" ["cipher_bits"]=> int(128) ["cipher_version"]=> string(11) "TLSv1/SSLv3" } ["timed_out"]=> bool(false) ["blocked"]=> bool(true) ["eof"]=> bool(false) ["wrapper_data"]=> array(17) { [0]=> string(24) "HTTP/1.1 400 Bad Request" [1]=> string(35) "Date: Mon, 15 May 2023 15:09:41 GMT" [2]=> string(45) "Content-Type: application/json; charset=utf-8" [3]=> string(19) "Content-Length: 133" [4]=> string(17) "Connection: close" [5]=> string(13) "Server: nginx" [6]=> string(12) "Vary: Origin" [7]=> string(38) "Access-Control-Allow-Credentials: true" [8]=> string(35) "Access-Control-Expose-Headers: ETag" [9]=> string(27) "X-DNS-Prefetch-Control: off" [10]=> string(62) "Strict-Transport-Security: max-age=15552000; includeSubDomains" [11]=> string(26) "X-Download-Options: noopen" [12]=> string(31) "X-Content-Type-Options: nosniff" [13]=> string(31) "X-XSS-Protection: 1; mode=block" [14]=> string(61) "X-Experience-API-Consistent-Through: 2023-05-15T15:09:41.306Z" [15]=> string(31) "X-Experience-API-Version: 1.0.3" [16]=> string(40) "ETag: W/"85-lWz0Uer5h1xvDfIgcQc8C710QjY"" } ["wrapper_type"]=> string(4) "http" ["stream_type"]=> string(14) "tcp_socket/ssl" ["mode"]=> string(2) "rb" ["unread_bytes"]=> int(133) ["seekable"]=> bool(false) ["uri"]=> string(92) "https://redacted/data/xAPI/statements?statementId=9ad3c10d-1e54-4c47-9a19-2b081d3724d2" } } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Moodle WP uses non-standard language codes. "en_us" is "en_us_wp". The LRS will reject invalid language codes.
The text was updated successfully, but these errors were encountered: