Appearance
status+me.virmesh.json.unexpected_fields
許可されていない field が request に含まれていることを示します。
Description
この status は strict validation が有効な route に未知の top-level field または payload field を送った場合に返ります。
When this happens
- 許可されていない top-level field が含まれている
- 許可されていない payload field が含まれている
Payload
payload.messagestringRequired実装依存の詳細メッセージです。
Examples
unexpected request fields
{
"status": "status+me.virmesh.json.unexpected_fields",
"payload": {
"message": "Request contains unknown fields that are not allowed by this route."
}
}Client handling
- request から未知の field を除外する
Related statuses
Referenced by
| HTTP | API | Action |
|---|---|---|
400 | me.virmesh.handle.updateHandle | me.virmesh.handle.updateHandle |
400 | me.virmesh.player.prepareProfileImageUpload | me.virmesh.player.prepareProfileImageUpload |
400 | me.virmesh.player.updateProfile | me.virmesh.player.updateProfile |
400 | me.virmesh.server.notifyNewAccount | me.virmesh.server.notifyNewAccount |
400 | me.virmesh.server.switchNewAccount | me.virmesh.server.switchNewAccount |
400 | me.virmesh.social.acceptFriendRequest | me.virmesh.social.acceptFriendRequest |
400 | me.virmesh.social.cancelFriendRequest | me.virmesh.social.cancelFriendRequest |
400 | me.virmesh.social.declineFriendRequest | me.virmesh.social.declineFriendRequest |
400 | me.virmesh.social.listFriends | me.virmesh.social.listFriends |
400 | me.virmesh.social.listIncomingFriendRequests | me.virmesh.social.listIncomingFriendRequests |
400 | me.virmesh.social.listOutgoingFriendRequests | me.virmesh.social.listOutgoingFriendRequests |
400 | me.virmesh.social.removeFriend | me.virmesh.social.removeFriend |
400 | me.virmesh.social.sendFriendRequest | me.virmesh.social.sendFriendRequest |