You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're uploading a document with attachments and you say it's not a stub without then also passing the attachment, you get an unfriendly error and an exception thrown in the log.
Expected Behavior
There should be a clean and readable error similar to when "stub": true and the attachment missing.
Current Behavior
You get {"error":"unknown_error","reason":"function_clause","ref":93628465} returned and the log shows:
If you're uploading a document with attachments and you say it's not a stub without then also passing the attachment, you get an unfriendly error and an exception thrown in the log.
Expected Behavior
There should be a clean and readable error similar to when
"stub": true
and the attachment missing.Current Behavior
You get
{"error":"unknown_error","reason":"function_clause","ref":93628465}
returned and the log shows:Steps to Reproduce (for bugs)
To follow along:
Note:
POST
I pass"stub": true
and I get a nice error about not passing the attachmentPOST
I changed stub fromtrue
tofalse
, and we get the unfriendly"unknown_error"
error message.Your Environment
The text was updated successfully, but these errors were encountered: