Skip to content

status+me.virmesh.json.invalid_payload

`payload`がactionの期待する形式ではないことを示します。

errorstable

Description

リクエストデータ自体はJSON objectとして解釈できたものの、 期待する形式と一致しない場合に使います。

When this happens

  • 必須のフィールドが欠けている
  • フィールドの型が期待と一致しない
  • action固有のバリデーションに失敗した

Payload

payload.messagestringRequired

検証に失敗した理由を表す詳細メッセージです。

Examples

invalid payload

{
  "status": "status+me.virmesh.json.invalid_payload",
  "payload": {
    "message": "送信されたペイロードが正しい形式ではありません。"
  }
}

Client handling

  • request payload の field 名と型を再確認する
  • canonical request example と送信内容を比較する

Related statuses

Referenced by

HTTPAPIAction
400me.virmesh.account.disableAccountme.virmesh.account.disableAccount
400me.virmesh.account.registerAccountKeyme.virmesh.account.registerAccountKey
400me.virmesh.account.verifyAccountKeyme.virmesh.account.verifyAccountKey
400me.virmesh.handle.updateHandleme.virmesh.handle.updateHandle
400me.virmesh.player.prepareProfileImageUploadme.virmesh.player.prepareProfileImageUpload
400me.virmesh.player.updateProfileme.virmesh.player.updateProfile
400me.virmesh.register.getChallengeStatusme.virmesh.register.getChallengeStatus
400me.virmesh.register.startChallengeme.virmesh.register.startChallenge
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