Errors
Status codes and exact message strings for Account.
Status codes
| Status | When | Exact body / message |
|---|---|---|
400 | Invalid uploaded file | {"success":false,"message":"Invalid file upload"} |
400 | Wrong current password | {"success":false,"message":"Current password is incorrect"} |
422 | Validation failed | Laravel message + errors bag |
500 | Profile update exception | {"success":false,"message":"Failed to update profile: …"} |
200 | Password changed | Password changed successfully (no data) |
200 | Profile updated | Profile updated successfully + user data |
Platform-wide 401 / 409 EMAIL_NOT_VERIFIED / 429 responses are documented in the Introduction. GET /user is on the unverified-email allowlist.