http 请求给出 "Message payload is of type"

http-request gives "Message payload is of type"

我有一个流程需要在内部调用外部 API,但它一直给我异常消息 Message payload is of type: ...。我现在用的是 3.6.2。

<http:request-config name="ApiRest" protocol="HTTPS"   doc:name="HTTP Request Configuration" basePath="rest" host="${api.endpointUrl}" port="80">
    <oauth2:client-credentials-grant-type clientId="${api.client_id}" clientSecret="${api.client_secret}">
        <oauth2:token-request tokenUrl="${api.endpointUrl}/oauth/token" />
    </oauth2:client-credentials-grant-type>
</http:request-config>
<flow name="flow-1">
    // more components here...
    <http:request config-ref="ApiRest" path="/v1/users" method="GET" sendBodyMode="NEVER" doc:name="test">
        <http:request-builder/>
    </http:request>
</flow>

问题是 HTTPS 使用端口 443,而不是 80。应该可以。