learningtapestry / canvas-google-drive-connector

An open source plugin for Instructure Canvas to connect to Google Drive.
GNU General Public License v3.0
7 stars 4 forks source link

404 error adding item to course content #24

Closed joehobson closed 6 years ago

joehobson commented 6 years ago

Trying to add a Google Drive item to course content, i'm getting a "Not Found" error.

  1. Open a course as an editor, add a module if you don't already have one
  2. Click the plus sign next to the module to add an item to it
  3. select "External Tool" from the drop-down
  4. select Google Drive from the list of tools

google drive not found error

jwrubel commented 6 years ago

@joehobson I suspect this is related to the configuration on testcanvas.aps.edu . Can you try the same process on https://canvas.navigationnorth.com/ and see if that works? I'll connect with you diretctly to see if I can get access to troubleshoot the testcanvas.aps.edu server.

joehobson commented 6 years ago

Same issue on the NN staging server. Sorry, forgot to mention that earlier

On Mar 21, 2018, at 8:02 AM, James Wrubel notifications@github.com wrote:

@joehobson I suspect this is related to the configuration on testcanvas.aps.edu . Can you try the same process on https://canvas.navigationnorth.com/ and see if that works? I'll connect with you diretctly to see if I can get access to troubleshoot the testcanvas.aps.edu server.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

jwrubel commented 6 years ago

ok I've confirmed this is a problem in both environments, and only when trying to add an item to a course through the External Tool menu. It's trying to invoke from /google-lti/lti/link-selection.

This same error occurs when using the locally-hosted version mapped to /google-lti and also the externally-hosted one on Cloud66. @andersoncardoso could you take a look?

jwrubel commented 6 years ago

I know I had tested this successfully back before the most recent round of updates and it worked so it's possible some change since c35e66b caused the issue.

andersoncardoso commented 6 years ago

The controller action is missing, I'm working on it right now.

andersoncardoso commented 6 years ago

@joehobson @jwrubel

Done on https://github.com/learningtapestry/canvas-google-drive-connector/pull/25

PS: the file being selected should be "public", i.e.: shared as "anyone with the link can view"

1 2 3 4 5