简体   繁体   English

RingCentral在发送传真时给我“ [OutboundFaxes]”错误

[英]RingCentral giving me error of “[OutboundFaxes]” at the time of sending FAX

I am trying to send FAX using POSTMAN using following URL "https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/****88004/fax" and I'm getting: 我正在尝试使用以下网址"https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/****88004/fax"使用POSTMAN发送传真,但我得到:

{
    "errorCode": "CMN-408",
    "message": "In order to call this API endpoint, user needs to have [OutboundFaxes] permission for requested resource.",
    "errors": [
        {
            "errorCode": "CMN-408",
            "message": "In order to call this API endpoint, user needs to have [OutboundFaxes] permission for requested resource.",
            "permissionName": "OutboundFaxes"
        }
    ],
    "permissionName": "OutboundFaxes"
}

There was a problem in Bearer Token at the time of making Send Fax request. 发出“发送传真”请求时,承载令牌存在问题。

Because I was using primary account details for generating Token and at the time of sending FAX I was using extensionid of extension 102 and Bearer Token was generated with Main account extension 101. That is why it was throwing [OutboundFaxes] permission error. 因为我使用主要帐户详细信息生成令牌,并且在发送传真时使用了扩展名102的扩展名,并且使用主帐户扩展名101生成了承载令牌。这就是为什么它抛出[OutboundFaxes]权限错误的原因。

To send FAX with ExtensionId of extension 102 , then generate the token using subaccount 102 details instead of main account. 要发送带有扩展名102的ExtensionId的FAX,然后使用子帐户102详细信息而不是主帐户生成令牌。

I have successfully reproduced the issue. 我已成功复制了该问题。

test case 测试用例

The root cause is just what @Jack said: authorize with extension 101 then try to send the fax with extension 102. 根本原因就是@Jack所说的:使用扩展名101授权,然后尝试发送具有扩展名102的传真。

The error message is 错误消息是

{ errorCode: 'CMN-408',
      message: 'In order to call this API endpoint, user needs to have [OutboundFaxes] permission for requested resource.',
      errors:
       [ { errorCode: 'CMN-408',
           message: 'In order to call this API endpoint, user needs to have [OutboundFaxes] permission for requested resource.',
           permissionName: 'OutboundFaxes' } ],
      permissionName: 'OutboundFaxes' }

I think the error message needs to be improved. 我认为错误消息需要改进。 It's very hard to figure out the root cause by reading it. 通过阅读很难找出根本原因。 I have reported this issue to RingCentral engineering team. 我已将此问题报告给RingCentral工程团队。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 JSON - RingCentral API - 尝试传真多个文档 - JSON - RingCentral API - Trying to Fax Multiple Documents RingCentral 传真 API 中缺少传真“from”和“callerId”参数 - Fax “from” and “callerId” parameters missing from RingCentral fax API 邮递员给了我这个端点的输出,但我的本地主机给了我 400 错误 - Postman is giving me the outputs of this endpoint but my localhost is giving me 400 error 使用web服务api的AutoCompleteText View在Android中给我错误 - AutoCompleteText View using webservice api Giving me error in Android fb.ui要求给我错误代码2 - fb.ui apprequests giving me error code 2 我正在从Main Activity调用Fragment函数,但给我一个错误。 下面提到错误,请指导我 - I am calling Fragment function from Main Activity but giving me an error. Error is mentioned below please guide me Java为什么要给我ClassNotFoundException? - Why is Java giving me a ClassNotFoundException? \\ Stripe \\ Subscription ::检索无法正常工作,给我测试Test webhook错误:500 - \Stripe\Subscription::retrieve not working giving me test Test webhook error: 500 我正在尝试呼叫第 3 方 api,它给了我一个 CORS 错误 - I am trying to call a 3rd party api and it is giving me a CORS error 我尝试了一个 API 请求,但它给了我这个错误 Uncaught SyntaxError: Unexpected token '&lt;' - i tried an API request but it is giving me this error Uncaught SyntaxError: Unexpected token '<'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM