【问题标题】:Connecting IBM mobile app builder to Cloudant JSON data - bluemix-mobile-services将 IBM 移动应用程序构建器连接到 Cloudant JSON 数据 - bluemix-mobile-services
【发布时间】:2016-08-30 13:50:11
【问题描述】:

我正在使用 IBM Bluemix Mobile App Builder 工具,并且了解它目前处于试验阶段,但我在将该工具连接到现有 JSON 数据源时遇到了问题。我尝试连接到 Bluemix 中的 Cloudant 实例,但找不到将 App Builder 工具绑定到 Bluemix 中的 Cloudant DB 的方法。我看到“Mobile App Builder-6v 当前未被授权访问其他服务实例。我还尝试使用 Bluemix 中的凭证来获取 JSON 数据,但我得到“我们无法连接到您的 Cloudant。请检查您的 Cloudant 配置。”

我还尝试使用 JSON 文件的 API 和我的 cloudant.com 凭据在 cloudant.com 上使用相同的数据源,但我得到“我们无法连接到 Cloudant。请检查输入的配置。”

对我缺少什么有什么建议吗?

【问题讨论】:

    标签: json ibm-cloud cloudant ibm-mobile-services


    【解决方案1】:

    以这种格式放置您的 Cloudant 数据源:

    *****************-bluemix.cloudant.com/dbname/

    没有_all_docs

    从 URL 中删除 _all_docs 后,我能够连接到我的数据源。

    例如,这是我连接到我称为products 的数据库的配置。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-08-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多