微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Mule 4:Salesforce:未为此组织或合作伙伴启用API

如何解决Mule 4:Salesforce:未为此组织或合作伙伴启用API

场景:Mule 4和Salesforce集成。

  1. 在Salesforce中创建了一个开发人员帐户。
  2. 在Salesforce中创建了一个自定义对象,用于通过Mulesoft加载数据。
  3. 在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]}'
  ]
  ]

当我检查解决方案时,发现以下步骤:

  1. 转到设置->管理用户->配置文件->系统管理员->编辑配置文件
  2. 但是在“管理偏好设置”中,我看不到enable API选项。

enter image description here

但是当我在“管理设置”下进行检查时,看不到启用API的选项。

请帮助。

谢谢。

解决方法

您的许可证级别(Platinum?)可能没有API管理。请咨询您的Mulesoft销售代表。 我猜是因为我们有这样的许可证,而且没有API管理。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。