Bot

Issue with registerBotDomain/v2 API

シャーバビック

2018.11.08既読 1813

Hi There,


We got a complain from client not able to register Bot with line works. We have investigated and found the API registerBotDomain/v2 which was earlier working fine is giving below error now.


API:

https://apis.worksmobile.com/#{line_work_api_id}/message/registerBotDomain/v2


Request:

{

    botNo: bot_no (passed from registerBot/v2 api response),

    domainId: 0 (passing it as 0 from beginning)

}


Response:

code: "SERVICE_UNAVAILABLE"

errorCode: "090"

errorMessage: "Service fail, HTTP/1.1 400 Bad Request, {"code":400,"message":"Bad Request Parameters: domainId is invalid"}"


Please help ASAP.

 

コメント1

  • 업데이트 된 답글입니다.

    LINE WORKS 公式アカウント

    Hi there,
    The parameter "'domainId':0" is not allowed today. That was a hidden option and we have deleted it.
    Please use a particular domainId instead of 0.

    p.s. registerBotDomain API is updated and "registerBotDomain/v2" will be deprecated in Apr. 2019.
    Please refer the list below.
    https://developers.worksmobile.com/jp/document/10016001?lang=ja

    2018.11.09

    0
前の投稿 初回メッセージの表示について
次の投稿SAML ログアウトのパラメータ変更について
リスト

まだ、解決できませんか?
今すぐ実際に使用しているLINE WORKSユーザーに質問してみましょう。