Skip to content
New issue

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

Make error handling configurable: silent ignore (current) or loud fail #21

Open
alexrollin opened this issue Aug 24, 2017 · 5 comments
Open

Comments

@alexrollin
Copy link

A little help with how to use the WIKIDATAQID would be very much appreciated:

This works:

=WIKIDATAQID("en:Banded_woodpecker")

However, if Cell C25 = "en:Banded_woodpecker"

Then this doesn't work :

=WIKIDATAQID(C25)

@tomayac tomayac self-assigned this Aug 24, 2017
@tomayac
Copy link
Owner

tomayac commented Aug 24, 2017

If you don't see results at all, probably you have exceeded your daily allowance of API calls, the tool internally logs this as exception: Service invoked too many times for one day: urlfetch. Else, could you maybe share a test spreadsheet where this issue appears?

@viswam
Copy link

viswam commented Aug 24, 2017 via email

@alexrollin
Copy link
Author

Huh...i SWEAR it didn't work before, but it works now, so great!

Before I had just instealled the addon and it "felt" like the neighboring cell value was not being injected before the WIKIDATAQID function was being executed. I have since reopened the sheet and it appears to be in fine working order without the quotes. Viswan as you say it is in tune with convention.

Thank you for a fine and useful tool and for your support!

@alexrollin alexrollin changed the title Help with use of WIKIDATAQID RESOLVED: Help with use of WIKIDATAQID Aug 24, 2017
@tomayac
Copy link
Owner

tomayac commented Aug 24, 2017

Alright, so it’s definitely a quota issue, thanks for confirming.

Honestly, I don’t know what the best solution would be, return nothing (current behavior) or return some sort of error message.

The issue I see with error messages is chained functions that would horribly break.

Apparently according to this article custom functions can throw errors. Would the community prefer this over of failing silently?

@viswam
Copy link

viswam commented Aug 24, 2017 via email

@tomayac tomayac changed the title RESOLVED: Help with use of WIKIDATAQID Make error handling configurable: silent ignore (current) or loud fail Sep 1, 2017
@tomayac tomayac removed their assignment Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants