Skip to content

status+me.virmesh.json.unexpected_fields

許可されていない field が request に含まれていることを示します。

errorstable

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

HTTPAPIAction
400me.virmesh.handle.updateHandleme.virmesh.handle.updateHandle
400me.virmesh.player.prepareProfileImageUploadme.virmesh.player.prepareProfileImageUpload
400me.virmesh.player.updateProfileme.virmesh.player.updateProfile
400me.virmesh.server.notifyNewAccountme.virmesh.server.notifyNewAccount
400me.virmesh.server.switchNewAccountme.virmesh.server.switchNewAccount
400me.virmesh.social.acceptFriendRequestme.virmesh.social.acceptFriendRequest
400me.virmesh.social.cancelFriendRequestme.virmesh.social.cancelFriendRequest
400me.virmesh.social.declineFriendRequestme.virmesh.social.declineFriendRequest
400me.virmesh.social.listFriendsme.virmesh.social.listFriends
400me.virmesh.social.listIncomingFriendRequestsme.virmesh.social.listIncomingFriendRequests
400me.virmesh.social.listOutgoingFriendRequestsme.virmesh.social.listOutgoingFriendRequests
400me.virmesh.social.removeFriendme.virmesh.social.removeFriend
400me.virmesh.social.sendFriendRequestme.virmesh.social.sendFriendRequest