首页 > 解决方案 > RingCentral 在发送传真时给我“[OutboundFaxes]”错误

问题描述

我正在尝试使用以下 URL 使用 POSTMAN 发送传真"https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/****88004/fax" ,我得到:

{
    "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"
}

标签: apifaxringcentral

解决方案


发送传真请求时不记名令牌出现问题。

因为我使用主帐户详细信息来生成令牌,并且在发送传真时我使用的是扩展 102 的扩展 ID,并且承载令牌是使用主帐户扩展 101 生成的。这就是它抛出 [OutboundFaxes] 权限错误的原因。

要使用扩展名 102 的 ExtensionId 发送传真,然后使用子帐户 102 详细信息而不是主帐户生成令牌。


推荐阅读