问题描述
场景:Mule 4和Salesforce集成。
- 在Salesforce中创建了一个开发人员帐户。
- 在Salesforce中创建了一个自定义对象,用于通过Mulesoft加载数据。
- 在m子4中,使用Salesforce Query组件并提供SF用户名,密码和安全令牌,并进行了“测试连接”。
问题:出现错误:
org.mule.runtime.api.connection.ConnectionException: org.mule.runtime.api.connection.ConnectionException: API is not enabled for this Organization or Partner
org.mule.runtime.api.connection.ConnectionException: org.mule.runtime.api.connection.ConnectionException: API is not enabled for this Organization or Partner
Caused by: org.mule.runtime.api.connection.ConnectionException: API is not enabled for this Organization or Partner
Caused by: org.mule.runtime.api.connection.ConnectionException: API is not enabled for this Organization or Partner
Caused by: [UnexpectedErrorFault [ApiFault exceptionCode='API_disABLED_FOR_ORG'
exceptionMessage='API is not enabled for this Organization or Partner'
extendedErrorDetails='{[0]}'
]
]
当我检查解决方案时,发现以下步骤:
但是当我在“管理设置”下进行检查时,看不到启用API的选项。
请帮助。
谢谢。
解决方法
您的许可证级别(Platinum?)可能没有API管理。请咨询您的Mulesoft销售代表。 我猜是因为我们有这样的许可证,而且没有API管理。