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
I am running parse-server 2.2.9 locally, after migrating my cloud code, I've found that beforeSave trigger is returning 141 exception code (script error) instead of 142 (validation error).
To reproduce this just tried this trigger
Parse.Cloud.beforeSave("InfoRequest", function(request, response) {
console.log("validation error");
response.error();
});
The text was updated successfully, but these errors were encountered:
To help us debug this, can you include the exact request and response in Parse Server? (you can see this in the logs using VERBOSE=1 environment variable)
I am running parse-server 2.2.9 locally, after migrating my cloud code, I've found that beforeSave trigger is returning 141 exception code (script error) instead of 142 (validation error).
To reproduce this just tried this trigger
Parse.Cloud.beforeSave("InfoRequest", function(request, response) {
console.log("validation error");
response.error();
});
The text was updated successfully, but these errors were encountered: