# Hawthorn and LTI

**URL:** <https://discuss.openedx.org/t/hawthorn-and-lti/4510>\
**Category:** Site Operations Help\
**Tags:** how-to\
**Created:** [March 12, 2021, 7:34pm UTC](https://discuss.openedx.org/t/hawthorn-and-lti/4510 "2021-03-12T19:34:53Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![muneera\_salah](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/muneera_salah/32/2220_2.png) [@muneera\_salah](https://discuss.openedx.org/u/muneera_salah)\
**Post date:** [March 12, 2021, 7:34pm UTC](https://discuss.openedx.org/t/hawthorn-and-lti/4510/1 "2021-03-12T19:34:53Z")

</div>

Hi,  
I have a hawthorn open-edx version, I finished to setup the LTI and it’s working, now how I can read the grades from the external website?

**Resources:**

- [edx-lti - YouTube](https://www.youtube.com/watch?v=b0EBl7G-26Y)
- [Adding third-party content to Open edX courses using LTI - Appsembler Knowledge Base](https://help.appsembler.com/article/452-lti)
- [4.21. Configuring an edX Instance as an LTI Tool Provider — Installing, Configuring, and Running the Open edX Platform documentation](https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/lti/index.html)

---

<div class="post-metadata">

**Author:** ![giovannicimolin](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/giovannicimolin/32/159_2.png) [@giovannicimolin](https://discuss.openedx.org/u/giovannicimolin)\
**Post date:** [March 22, 2021, 7:48pm UTC](https://discuss.openedx.org/t/hawthorn-and-lti/4510/2 "2021-03-22T19:48:21Z")

</div>

Hi @muneera_salah,

Can you add more details about the LTI integration that you are trying to set up?  
Are you using the platform as an LTI Tool (display Open edX content on external tool) or as a consumer (display external content inside LMS)?

Since you’re on Hawthorn, I’ll assume that you are using an LTI 1.1 integration since that’s the only supported one in that release.

On this LTI version, the main way to pass grades around is through the LTI Basic Outcomes service ([spec](http://www.imsglobal.org/spec/lti-bo/v1p1/)).

On the provider (embedding LMS content in external tool), in order for the platform to correctly pass grades back to the external tool, you need to set the correct `lis_outcome_service_url` provided by your service.

On the LTI Consumer (embedding external content into LMS), the `outcome_service_url` parameter is automatically added to the LTI message if the block/section is graded.

---

<div class="post-metadata">

**Author:** ![muneera\_salah](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/muneera_salah/32/2220_2.png) [@muneera\_salah](https://discuss.openedx.org/u/muneera_salah)\
**Post date:** [April 15, 2021, 3:03pm UTC](https://discuss.openedx.org/t/hawthorn-and-lti/4510/3 "2021-04-15T15:03:22Z")

</div>

I followed these steps to enable LTI  
[https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/lti/enable\_lti.html](https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/lti/enable_lti.html)  
and it’s working fine I can get the content but I have an issue with the grades/scores it is not reflect at my openedx

I searched a lot about the way to fixing I found these solutions but still not working

> **[Adding SCORM packages to Open edX via SCORMCloud and LTI](https://blog.jazkarta.com/2015/02/08/adding-scorm-packages-to-open-edx-via-scormcloud-and-lti/)**
>
> Do you want to be able to use existing training content in an Open edX course? SCORM – the “Sharable Content Object Reference Model” – is a set of interoperability standards…

> [@How can I enable the "Request user’s username" in Open edX admin for LTI configuration?](https://discuss.openedx.org/t/how-can-i-enable-the-request-user-s-username-in-open-edx-admin-for-lti-configuration/1939):
>
> I wanted to know how open edx administrator enables “Request user’s username” for LTI configuration, it says in the documentation to contact edX partner manager. on the doc [10.21. LTI Component — Building and Running an edX Course documentation](https://edx.readthedocs.io/projects/edx-partner-course-staff/en/latest/exercises_tools/lti_component.html)

Does anyone have any idea to solve an issue with reading grades/scores at openedx?

---

<div class="post-metadata">

**Author:** ![muneera\_salah](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/muneera_salah/32/2220_2.png) [@muneera\_salah](https://discuss.openedx.org/u/muneera_salah)\
**Post date:** [April 15, 2021, 3:04pm UTC](https://discuss.openedx.org/t/hawthorn-and-lti/4510/4 "2021-04-15T15:04:58Z")

</div>

> [@giovannicimolin](#):
>
> Since you’re on Hawthorn, I’ll assume that you are using an LTI 1.1 integration since that’s the only supported one in that release.

sorry, can you explain more about outcome\_service\_url ? Thank you

---

<div class="post-metadata">

**Author:** ![muneera\_salah](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/muneera_salah/32/2220_2.png) [@muneera\_salah](https://discuss.openedx.org/u/muneera_salah)\
**Post date:** [April 17, 2021, 1:25pm UTC](https://discuss.openedx.org/t/hawthorn-and-lti/4510/5 "2021-04-17T13:25:09Z")

</div>

Hello,  
up.

Does anyone have any idea how to solve an issue with reading grades/scores by LTI?

---

<div class="post-metadata">

**Author:** ![gabrieldamours](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/gabrieldamours/32/5569_2.png) [@gabrieldamours](https://discuss.openedx.org/u/gabrieldamours)\
**Post date:** [April 21, 2021, 5:38pm UTC](https://discuss.openedx.org/t/hawthorn-and-lti/4510/6 "2021-04-21T17:38:26Z")

</div>

@muneera_salah if you want @giovannicimolin to see your questions, you should ping him in your replies 🙂

---

<div class="post-metadata">

**Author:** ![muneera\_salah](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/muneera_salah/32/2220_2.png) [@muneera\_salah](https://discuss.openedx.org/u/muneera_salah)\
**Post date:** [April 22, 2021, 8:25am UTC](https://discuss.openedx.org/t/hawthorn-and-lti/4510/7 "2021-04-22T08:25:17Z")

</div>

@gabrieldamours ok Thank you

---

<div class="post-metadata">

**Author:** ![muneera\_salah](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/muneera_salah/32/2220_2.png) [@muneera\_salah](https://discuss.openedx.org/u/muneera_salah)\
**Post date:** [April 22, 2021, 8:26am UTC](https://discuss.openedx.org/t/hawthorn-and-lti/4510/8 "2021-04-22T08:26:16Z")

</div>

@giovannicimolin  
I faced this error

> [outcomes.py:169] - /edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/lti\_consumer/outcomes.py:169: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6  
> error\_message = “Request body XML parsing error: {} {}”.format(ex.message, body)

---

<div class="post-metadata">

**Author:** ![muneera\_salah](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/muneera_salah/32/2220_2.png) [@muneera\_salah](https://discuss.openedx.org/u/muneera_salah)\
**Post date:** [April 26, 2021, 9:12am UTC](https://discuss.openedx.org/t/hawthorn-and-lti/4510/9 "2021-04-26T09:12:34Z")

</div>

Hi  
@gabrieldamours @giovannicimolin  
Does anyone have any idea about this error?  
Thank you

---

<div class="post-metadata">

**Author:** ![giovannicimolin](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/giovannicimolin/32/159_2.png) [@giovannicimolin](https://discuss.openedx.org/u/giovannicimolin)\
**Post date:** [May 5, 2021, 12:47pm UTC](https://discuss.openedx.org/t/hawthorn-and-lti/4510/10 "2021-05-05T12:47:11Z")

</div>

Hi @muneera_salah, sorry for the delay in the reply!

It looks like you’re trying to use the LTI provider functionality of the platform.  
There’s a note on the LTI setup page mentioning that this feature is not supported: [12.6.1. Reusing Course Content with LTI — Building and Running an Open edX Course documentation](https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/latest/course_features/lti/lti_reuse_content.html), so it might not be fully functional.

I’ve found these docs that might be able to help you: [12.6. Using Open edX as an LTI Tool Provider — Building and Running an Open edX Course documentation](https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/latest/course_features/lti/index.html#using-open-edx-as-an-lti-tool-provider)

They mention that the LMS send back grades to the tool after some time, so it might be that you are only having configuration issues.  
You can try using [saLTIre: Platform emulator](https://saltire.lti.app/platform) (this is a test tool to help you debug your settings) and check if the `outcome_service_url` is being passed and used by the LMS.
