A small little debugging toolโฆ
This is pretty cool
Thanks for this, @praveen !
Iโm having trouble understanding part of it, though:
The basic approach is to copy the image url and open it in a browser window. If the image doesnโt show, you will instead see an error trace.
Iโm a Mac user and when I try to follow the approach youโve described on Safari and Chrome I get this:
In other words, I donโt get the kind of error trace you wrote about. Am I doing something wrong? Perhaps it has something to do with my browser settings. I have a feeling that Iโve missed something youโve already explained in your post but even after going back to look for it Iโm still stumped.
By the way, Iโm a big fan of gettablefileurl. Iโm using it in my classes all of the time now. Students put screenshots into records they make as assignments. The students type a tag for that particular assignment into the tag column and then, because all of the students share their sheets with me, I can pull all of the submitted assignment into a Google spreadsheet I use to collate student data. The studentsโ apps write their app names to their sheets with CONTEXT(โAppNameโ) and that gives me all of the information I need to construct an image URL that both I and all of the students can see. It looks like this on the page Iโve published for the students:
Iโve found other uses for gettablefileurl and itโs generally quite stable. But, Iโm curious to learn about this debugging tool just in case I should encounter difficulties in the future.
Hi @Kirk_Masden, could you please file a support ticket with this specific gettablefileurl and note on it that youโve been taling with me to they route it to me? Iโll take a look. Thanks!
Sure Praveen! Iโll be happy to do that. Let me just confirm one point, first, though. All I did was take a URL generated for a student and change a letter. I just wanted to see the error tracing tool you described. So, would you like me to send an example of a URL that works but that, when I change a letter, I donโt get the same kind of error tracing feedback you introduced?
oh ok. That is probably because you corrupted the url and it no longer matches the signature (assuming you have the option enabled for secure iimages). Thatโs something hackers could do, so weโre not going to provide meaningful error messages โ just a standard 404 error.
But letโs say you moved or renamed the file in the file system. Then you should get a meaningful error message.
I see. Thanks. Just for your information, Iโve gotten the kind of error I showed above before (unintentionally โ just did something wrong when constructing the URL via my spreadsheet) and have never gotten they tracing tool you indicated. Iโll look for it in the future if I get any errors โ which hasnโt happened for quite some time now, thankfully.