Hi there,
I'm implementing an LTI2.0 Tool Provider, and I'm getting this error while accepting the registration process:
{"status":400,"message":"Service type not found in tool consumer profile : https://bd-partner-a-original.blackboard.com/learn/api/v1/lti/profile#ToolProxy"}
Below's some data related from POST call. Please let me know if I can include some more data that could help to resolve this issue.
Thanks in advance for your help!
CURLOPT_URL = 'https://bd-partner-a-original.blackboard.com/learn/api/v1/lti/external/toolproxy'
CURLOPT_HTTPHEADER = array (
0 => 'Authorization: OAuth oauth_version="1.0",oauth_nonce="131518430bce6c5a3ae6bde2e7c28117",oauth_timestamp="1499454924",oauth_consumer_key="e443adfec85640d6979163f5bd142d7f",oauth_body_hash="I3Np%2FR3Apf6LTD7bkUZiepBGx1Q%3D",oauth_signature_method="HMAC-SHA1",oauth_signature="8dNsV%2F8EfZHta4LpZwaAdTjszSc%3D"',
1 => 'Content-Type: application/vnd.ims.lti.v2.toolproxy+json',
2 => 'Content-Length: 2295',
)
CURLOPT_POSTFIELDS = '{"@context":["http:\\/\\/purl.imsglobal.org\\/ctx\\/lti\\/v2\\/ToolProxy"],"@type":"ToolProxy","@id":"https:\\/\\/bd-partner-a-original.blackboard.com\\/learn\\/api\\/v1\\/lti\\/external\\/toolproxy","lti_version":"LTI-2p0","tool_consumer_profile":"https:\\/\\/bd-partner-a-original.blackboard.com\\/learn\\/api\\/v1\\/lti\\/profile","tool_profile":{"product_instance":{"guid":"myGuid","product_info":{"product_name":{"default_value":"MyApp","key":"tool.name"},"description":{"default_value":"LTI tool provider","key":"tool.description"},"product_version":"3.9.1499450484","product_family":{"vendor":{"code":"ims","vendor_name":{"default_value":"IMSGlobal","key":"tool.vendor.name"},"description":{"default_value":"IMS Global Learning Consortium Inc","key":"tool.vendor.description"},"website":"https:\\/\\/www.imsglobal.org\\/"}}}},"lti_version":"LTI-2p0","resource_handler":[{"resource_type":{"code":"resource-selection"},"resource_name":{"default_value":"Resource selection","key":"resource-selection.resource.name"},"description":{"default_value":"Tool provider which allows to select a resource.","key":"resourse-selection.resource.description"},"message":[{"message_type":"basic-lti-launch-request","path":"lti_connect.php","enabled_capability":["User.id","Membership.role"],"parameter":[]}],"icon_info":[{"default_location":{"path":"logo.jpg"},"key":"resource-selection.icon.path"}]},{"resource_type":{"code":"site-navigation"},"resource_name":{"default_value":"Site Navigation","key":"site-navigation.resource.name"},"description":{"default_value":"Tool provider which allows to navigate app site.","key":"site-navigation.resource.description"},"message":[{"message_type":"basic-lti-launch-request","path":"lti_connect.php","enabled_capability":["User.id","Membership.role"],"parameter":[]}],"icon_info":[{"default_location":{"path":"logo.jpg"},"key":"site-navigation.icon.path"}]}],"base_url_choice":[{"default_base_url":"myBaseUrl"}]},"security_contract":{"shared_secret":"Jif1c6CIrqAO","tool_service":[{"@type":"RestService","service":"https:\\/\\/bd-partner-a-original.blackboard.com\\/learn\\/api\\/v1\\/lti\\/profile#ToolProxy","action":["POST"]}]}}'
The Tool Consumer Profile Json:
{"@context":["http://purl.imsglobal.org/ctx/lti/v2/ToolConsumerProfile",{"tcp":"https://bd-partner-a-original.blackboard.com/learn/api/v1/lti/profile#"}],"@type":"ToolConsumerProfile","@id":"https://bd-partner-a-original.blackboard.com/learn/api/v1/lti/profile","lti_version":"LTI-2p0","guid":"","product_instance":{"guid":"6c68135eb8bc4ba3b4a4643afe2f76ca","product_info":{"product_name":{"default_value":"Blackboard Learn","key":"product.name"},"description":{"default_value":"Blackboard Inc. is a global leader in enterprise technology and innovative solutions that improve the experience of millions of students and learners around the world every day. Blackboard\'s solutions allow thousands of higher education, K-12, professional, corporate, and government organizations to extend teaching and learning online, facilitate campus commerce and security, and communicate more effectively with their communities. Founded in 1997, Blackboard is headquartered in Washington, D.C., with offices in North America, Europe, Asia and Australia.","key":"product.vendor.description"},"product_version":"3200.8.0-rel.18+b6e4dc1","product_family":{"@id":"product.family.id","code":"Blackboard Learn","vendor":{"@id":"blackboard","code":"blackboard","vendor_name":{"default_value":"Blackboard Inc.","key":"product.vendor.name"},"description":{"default_value":"Blackboard Inc. is a global leader in enterprise technology and innovative solutions that improve the experience of millions of students and learners around the world every day. Blackboard\'s solutions allow thousands of higher education, K-12, professional, corporate, and government organizations to extend teaching and learning online, facilitate campus commerce and security, and communicate more effectively with their communities. Founded in 1997, Blackboard is headquartered in Washington, D.C., with offices in North America, Europe, Asia and Australia.","key":"product.vendor.description"},"website":"http://www.blackboard.com","timestamp":"2017-07-07T19:15:07.319Z","contact":{"email":"NA"}}}},"support":{"email":"admin@bd-partner-a-original.blackboard.com"},"service_owner":{"@id":"ServiceOwner","service_owner_name":{"default_value":"Blackboard, Inc.","key":"service_owner_name"},"description":{"default_value":"Blackboard, Inc.","key":"service_owner_description"},"support":{"email":"admin@bd-partner-a-original.blackboard.com"},"timestamp":"2017-07-07T19:15:07.319Z"}},"capability_offered":["Context.sourcedId","CourseSection.sourcedId","LtiLink.custom.url","Membership.role","Person.email.primary","Person.name.family","Person.name.full","Person.name.given","Person.sourcedId","Result.autocreate","Result.sourcedId","Result.url","ToolConsumerProfile.url","ToolProxy.custom.url","ToolProxy.url","ToolProxyBinding.custom.url","ToolProxyRegistrationRequest","User.id","User.username","basic-lti-launch-request","caliper.federated.session.id","caliper.profile.url"],"service_offered":[{"@type":"RestService","@id":"tcp:ToolConsumerProfile","endpoint":"https://bd-partner-a-original.blackboard.com/learn/api/v1/lti/profile","format":["application/vnd.ims.lti.v2.toolconsumerprofile+json"],"action":["GET"]},{"@type":"RestService","@id":"tcp:ToolProxy","endpoint":"https://bd-partner-a-original.blackboard.com/learn/api/v1/lti/external/toolproxy","format":["application/vnd.ims.lti.v2.toolproxy+json"],"action":["GET","POST"]},{"@type":"RestService","@id":"tcp:ToolProxySettings","endpoint":"https://bd-partner-a-original.blackboard.com/learn/api/v1/lti/external/toolsettings/toolproxy/{tool_proxy_guid}","format":["application/vnd.ims.lti.v2.toolsettings+json","application/vnd.ims.lti.v2.toolsettings.simple+json"],"action":["GET","PUT"]},{"@type":"RestService","@id":"tcp:ToolProxyBindingSettings","endpoint":"https://bd-partner-a-original.blackboard.com/learn/api/v1/lti/external/toolsettings/toolbinding/{context_id}","format":["application/vnd.ims.lti.v2.toolsettings+json","application/vnd.ims.lti.v2.toolsettings.simple+json"],"action":["GET","PUT"]},{"@type":"RestService","@id":"tcp:LtiLinkSettings","endpoint":"https://bd-partner-a-original.blackboard.com/learn/api/v1/lti/external/toolsettings/link/{link_id}","format":["application/vnd.ims.lti.v2.toolsettings+json","application/vnd.ims.lti.v2.toolsettings.simple+json"],"action":["GET","PUT"]},{"@type":"RestService","@id":"tcp:Result.item","endpoint":"https://bd-partner-a-original.blackboard.com/learn/api/v1/lti/external/result/{sourcedId}","format":["application/vnd.ims.lis.v2.result+json"],"action":["GET","PUT"]},{"@type":"RestService","@id":"tcp:CaliperProfile.collection","endpoint":"https://bd-partner-a-original.blackboard.com/api/v1/telemetry/caliper/profile/","format":["application/vnd.ims.lti.v1.caliperprofile+json"],"action":["GET"]}]}'
Just wanted to say that we are testing our tool on Learning Tools Interoperability Certification Suite | IMS Global Learning Consortium, and we are passing the registration process without issues.
So, if someone knows if Blackboard needs something different or extra in this registration step it would be really helpful, thanks!