输入 | 输出 | ||
---|---|---|---|
参数名称 | 基本类型 | 说明 | |
oauthConfigurations | JSON | 为连接器提供具有正确 OAuth 配置设置的有效 JSON 文件。 | 随后会返回一条消息,表明已成功完成或在服务执行期间出错。 |
输入 | 输出 | ||
---|---|---|---|
参数名称 | 基本类型 | 说明 | |
Connector config name | 字符串 | 随后会返回一条消息,表明已成功完成或在服务执行期间出错。 | |
OAuth provider | 字符串 | 为指定连接器提供有效的 OAuth 提供者。 |
输入 | 输出 | ||
---|---|---|---|
参数名称 | 基本类型 | 说明 | |
– | – | - | 返回一个 JSON,其中包含连接器名称和加载到 ThingWorx Flow 服务器的所有 OAuth 的 OAuth 提供者名称。 |
输入 | 输出 | ||
---|---|---|---|
参数名称 | 基本类型 | 说明 | |
– | – | – | 随后会返回一条消息,表明已成功完成或在服务执行期间出错。 |
错误代码 | 错误消息 |
---|---|
[FLOW-CONFIG-01] | ThingWorx Flow is not enabled. Add the OrchestrationSettings section to the platform-settings.json file to enable ThingWorx Flow. |
[FLOW-RABBIT-01] | Failed to connect to RabbitMQ. Check whether the RabbitMQ service is running and is accessible. |
[FLOW-API-01] | Failed to connect to ThingWorx Flow. Check ThingWorx logs for more detail. |
[FLOW-API-02] | Failed to connect to ThingWorx Flow. Ensure that you are accessing an Nginx-hosted ThingWorx instance. ThingWorx Flow is not supported on a Tomcat-hosted ThingWorx. Ensure that all ThingWorx Flow services are running and are healthy. In case of self-signed certificate, make sure that correct CN is provided. |
[FLOW-KEY-01] | OAuth admin key not found in the ThingWorx KeyStore. |
[FLOW-KEY-02] | Exchange admin key not found in the ThingWorx KeyStore. |
[FLOW-KEY-03] | Failed to get ThingWorx Flow keys from the ThingWorx KeyStore. |
[FLOW-KEY-04] | Failed to get ThingWorx Flow keys from the ThingWorx KeyStore. |
[FLOW-EXCHANGE-01] | Failed to connect to ThingWorx Flow exchange service. Check ThingWorx logs for more details. |
[FLOW-EXCHANGE-02] | Failed to connect to ThingWorx Flow exchange service. Check whether ThingWorx exchange service is up and running. |
[FLOW-OAUTH-01] | Failed to connect to ThingWorx Flow OAuth service. Check ThingWorx logs for more details. |
[FLOW-OAUTH-02] | Failed to connect to ThingWorx Flow OAuth service. Check whether ThingWorx Flow OAuth service is up and running. |