360 Degree Learning
360 Degree Learning
360 Degree Learning
360 Degree Learning
360 Degree Learning
360 Degree Learning
360 Degree Learning
Skip to main content

Xapi testing

Completion requirements
object(TinCan\LRSResponse)#1842 (3) { ["success"]=> bool(false) ["content"]=> string(126) "Error:Invalid email id [root@localhost] for agent: {"objectType":"Agent","name":"Guest user ","mbox":"mailto:root@localhost"}" ["httpResponse"]=> array(4) { ["status"]=> int(400) ["headers"]=> array(5) { ["contentType"]=> string(9) "text/html" ["date"]=> string(29) "Mon, 31 Mar 2025 04:06:12 GMT" ["apiConsistentThrough"]=> string(24) "2025-03-31T04:06:12.743Z" ["apiVersion"]=> string(5) "1.0.0" ["contentTypeCharset"]=> string(5) "UTF-8" } ["_content"]=> string(126) "Error:Invalid email id [root@localhost] for agent: {"objectType":"Agent","name":"Guest user ","mbox":"mailto:root@localhost"}" ["_metadata"]=> array(11) { ["crypto"]=> array(4) { ["protocol"]=> string(7) "TLSv1.3" ["cipher_name"]=> string(22) "TLS_AES_256_GCM_SHA384" ["cipher_bits"]=> int(256) ["cipher_version"]=> string(7) "TLSv1.3" } ["timed_out"]=> bool(false) ["blocked"]=> bool(true) ["eof"]=> bool(false) ["wrapper_data"]=> array(16) { [0]=> string(24) "HTTP/1.1 400 Bad Request" [1]=> string(35) "Date: Mon, 31 Mar 2025 04:06:12 GMT" [2]=> string(47) "Server: Apache/2.4.57 (AlmaLinux) OpenSSL/3.0.7" [3]=> string(24) "X-Powered-By: PHP/8.3.12" [4]=> string(31) "X-Experience-API-Version: 1.0.0" [5]=> string(30) "Access-Control-Allow-Origin: *" [6]=> string(28) "Access-Control-Max-Age: 3600" [7]=> string(54) "Access-Control-Allow-Methods: HEAD,GET,POST,PUT,DELETE" [8]=> string(183) "Access-Control-Allow-Headers: X-Requested-With,User-Agent,Content-Type,Content-Length,Authorization,If-Match,If-None-Match,X-Experience-API-Version,X-Experience-API-Consistent-Through" [9]=> string(169) "Access-Control-Expose-Headers: ETag,Last-Modified,Cache-Control,Content-Type,Content-Length,WWW-Authenticate,X-Experience-API-Version,X-Experience-API-Consistent-Through" [10]=> string(23) "Cache-Control: no-cache" [11]=> string(61) "X-Experience-API-Consistent-Through: 2025-03-31T04:06:12.743Z" [12]=> string(147) "Set-Cookie: GRASSBLADELRS=vc2qnilfhkn960l6te9sujaoge; expires=Mon, 31 Mar 2025 08:06:12 GMT; Max-Age=14400; path=/; secure; HttpOnly; SameSite=None" [13]=> string(71) "Strict-Transport-Security: max-age=31536000; includeSubDomains; preload" [14]=> string(17) "Connection: close" [15]=> string(38) "Content-Type: text/html; charset=UTF-8" } ["wrapper_type"]=> string(4) "http" ["stream_type"]=> string(14) "tcp_socket/ssl" ["mode"]=> string(2) "rb" ["unread_bytes"]=> int(126) ["seekable"]=> bool(false) ["uri"]=> string(298) "https://test.gblrs.com/xAPI/activities/state?activityId=https%3A%2F%2Fexample.com%2Fexample-activity&agent=%7B%22objectType%22%3A%22Agent%22%2C%22name%22%3A%22Guest%20user%20%20%22%2C%22mbox%22%3A%22mailto%3Aroot%40localhost%22%7D&stateId=http%3A%2F%2Ftincanapi.co.uk%2Fstateapikeys%2Fregistrations" } } }

Error attempting to get registration data from State API.

  • line 77 of /mod/tincanlaunch/view.php: call to debugging()