when Staff user tries to endorse/undorse a learner response against any discussion post response getting unexpected error message on the screen.
How to reproduce:
- Login with staff user and then navigates to any discussion post response. Click on endorse button.
- Login with staff user and then navigates to any already endorse discussion post response. Click on unendorse button.
