Skip to content

status+me.virmesh.social.friend_request_already_exists

同じ sender と requestTo の pending friend request がすでに存在することを示します。

errordraft

Description

この status は同じ sender/requestTo の組み合わせに対して、まだ処理されていない pending request がある場合に返ります。

When this happens

  • 同じ送信元と送信先の pending friend request がすでに保存されている

Payload

payload.messagestringRequired

実装依存の詳細メッセージです。

Examples

duplicate pending request

{
  "status": "status+me.virmesh.social.friend_request_already_exists",
  "payload": {
    "message": "A pending friend request for this pair already exists."
  }
}

Client handling

  • outgoing request 一覧を再取得して重複作成を避ける
  • 既存 request を cancel するか、相手の応答を待つ

Related statuses

Referenced by

HTTPAPIAction
409me.virmesh.social.sendFriendRequestme.virmesh.social.sendFriendRequest