Coda pack, throwing an empty user visible error defaults to quota exceeded error

Doing throw new coda.UserVisibleError(""); (no error message) defaults the user visible error content in Coda to

“Your monthly quota of [Pack name] actions has been exceeded.”

which is misleading while debugging and also to the user. A more sensible fallback (even an empty message) would be preferable.

Hey there! I’m not sure I totally understand you’re ask here. Would you mind sharing a bit more context about what you’re trying to accomplish and what you’d like to see? More information about your use case will help us in determining if you’re running into a bug, or if there’s a feature request here :smiley:

Thanks so much in advance for the extra info, we’ll stay tuned!

~Nicole

Hi,

This is about the Pack Making experience, specifically writing the code of a Pack formula to throw a new coda.UserVisibleError("") with no message. The resulting error in the Coda app when that Pack formula is run is a bogus error toast that the monthly quota is exceeded.

Let me know if that helps clarify things :slight_smile:

Thanks for following up with this info, @loucadufault. After some testing, our team has deemed that this is not a bug, but rather a feature request. We have tracked your request to improve coda.UserVisibleError(“”) output on Pack Making experience in our feature tracking system.

I’ve gone ahead and moved this topic to the Suggestion Box so that the rest of the Community can continue the conversation. Thanks for your report and understanding.

1 Like