Misar Docs
MisarMailMisar.BlogMisarReachMisarPostMisar.DevMisar PlatformMisar IdentityMisar Posts API
Profile

Errors

Validation and auth error shapes returned by the Profile API.

All errors are JSON with a single error string and the matching HTTP status.

{ "error": "<message>" }

Status codes

StatusWhen
400Invalid user_id, malformed JSON body, failed field validation, or no updatable fields supplied
401Missing or invalid auth (no bearer / cookie / service key)
403Service key used on POST /io/profile/avatar (first-party only)
404Profile not found and could not be provisioned
500Storage or database write failure

Validation messages

FieldMessageCause
display_nameName cannot be emptyEmpty string after trim
display_nameName must be 100 characters or fewerOver 100 chars
genderGender is required and must be one of: male, female, non_binary, prefer_not_to_say, otherNot in allowed set / empty
date_of_birthDate of birth is required and must be a valid past date (age 13–120)Invalid or out-of-range date
phonePhone number is invalidFails [+()\-\s\d]{5,30}
bodyNo updatable fields providedPATCH with no recognized fields
fileUnsupported image type (use JPEG, PNG, WebP, or GIF)Disallowed MIME
fileImage must be 5 MB or smallerOver the size cap

Fail-closed for products

When a product proxies this API server-to-server and the call fails, treat the profile as unavailable rather than assuming a complete profile. Do not silently bypass the completion hard-gate on transient errors.