I have a third party service that I believe is sen

2019-09-15 00:06发布

And as a result, Rails is dying short before my controllers and returning :

781: unexpected token at 'stateId=resume&registration=bar&actor=null&Authorization=foo&activityId=JumrnmV_course_id&Content-Type=application/json'

This is a bit cryptic for me because I have no access to the 3rd party service. I can only append parameters to a query url and those get appended on the return payload.. which I think is corrupting my JSON..

The launch query is this :

  '/system/' + @myobj.id.to_s + '/story.html' +
  '?endpoint=http%3A%2F%2Fmywebsite.dev%2Fquizzes%2F' + 
  '&auth=foo' +
  '&registration=bar'

I have to admit I'm a bit beaten up by this, and not entirely sure what direction to go from here. Does anyone have any idea how I could further decode this?

The third party service is Articulate which is sending instructions to TinCan.

0条回答
登录 后发表回答