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
Instead of returning the statementid of this valid statement after instertion, gives 505 and returns the word 'description' as string.
from tincan_api import TinCan from coach import settings tc = TinCan(settings.TINCAN['username'], settings.TINCAN['password'], settings.TINCAN['endpoint']) tc.submitStatement({ 'verb': {'id': 'http://adlnet.gov/expapi/verbs/progressed', 'display': {'en-US': 'progressed'}}, 'actor': {'mbox': 'mailto:auke', 'name': 'auke'}, 'object': {'definition': {'type': 'http://adlnet.gov/expapi/activities/question', 'name': {'en-US': 'question'}}, 'id': 'http://www.uva.nl/question1'}})
The text was updated successfully, but these errors were encountered:
It seems to work when you add a description to the activity definition.
Reproduce by replacing the submit call with:
tc.submitStatement({'verb': {'id': 'http://adlnet.gov/expapi/verbs/progressed','display': {'en-US': 'progressed'}},'actor': {'mbox': 'mailto:auke', 'name': 'auke'},'object':{'definition':{'type': 'http://adlnet.gov/expapi/activities/question','description':{'en-US': 'question'},'name': {'en-US': 'question'}},'id': 'http://www.uva.nl/question1'}})
Sorry, something went wrong.
mslatour
No branches or pull requests
Instead of returning the statementid of this valid statement after instertion, gives 505 and returns the word 'description' as string.
The text was updated successfully, but these errors were encountered: