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 get the following error on logs generated by API but no way can I get a handle on error thrown, all I get is undefined.
[API] POST error (users.create): {
success: false,
error: 'ajskajs is already in use :( [error-field-unavailable]',
errorType: 'error-field-unavailable'
}
The text was updated successfully, but these errors were encountered:
When using SDKs API, I make a post request. Tried async / await as well but no way can I get a handle error returned by request.
api
.post("users.create", {
name: data.name,
email: data.email,
password: data.password,
username: data.username,
roles: ["anonymous"]
})
.then(res => console.log(res))
.catch(error => console.error(error));
I get the following error on logs generated by API but no way can I get a handle on error thrown, all I get is undefined.
[API] POST error (users.create): {
success: false,
error: 'ajskajs is already in use :( [error-field-unavailable]',
errorType: 'error-field-unavailable'
}
The text was updated successfully, but these errors were encountered: