When this forum tries to alert you of an error it just says
[object Object]
This is a basic JS error, it means your developers are trying to log an entire object. They might try to console.log(error?.error) instead of the entire object. If for some reason they intend to expose code to us, at least JSON.stringify the alert arg
Sorry do you know of a browser that doesn’t use JavaScript?
It’s not a JavaScript implementation (“browser”) issue, or even an actual error at all. It’s just a developer mistake to pass an object into a function (alert) which only accepts a string.
Hey Wizaga,
What would be the steps to reproduce this error?
Where exactly are you seeing the error? During writing a post?
If it’s something that can be verified / reproduced and it’s not specific to your browser/PC then you may want to post the details over on the #support:website-bug-report forums.
2 Likes
-
Login with an account with Trust Level such that you cannot reply to your own post until someone else has (believe this is default for all accounts)
-
Post a thread
-
Try to reply to it
-
See [object Object] alerted in the alert box
Very likely your developers are assuming the error return value is a string, but it’s actually an object that contains a message property (e.g. payload is likely { [someKey]: "the error msg" } and not the error message as a raw string)