Connecting IBM mobile app builder to Cloudant JSON data - bluemix-mobile-services

风格不统一 提交于 2019-12-10 22:16:05

问题


I am using the IBM Bluemix Mobile App Builder tool and understand that it is currently experimental, but I have been having problems connecting the tool to an existing JSON data source. I have tried connecting to the Cloudant instance within Bluemix, but can't find a way to bind the App Builder tool to the Cloudant DB within Bluemix. I see "Mobile App Builder-6v is not currently authorized to access other service instances. I also tried using the credentials inside Bluemix to get to the JSON data, but I get "We couldn't connect to your Cloudant. Please check your Cloudant configuration."

I have also tried using the same Data Source on cloudant.com using the API for the JSON file and my cloudant.com credentials, but I get "We couldn't connect to Cloudant. Please review the entered configuration."

Any suggestions on what I am missing?


回答1:


Put your Cloudant data source in this format:

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

without the _all_docs.

After I removed the _all_docs from the URL, I was able to connect to my data source.

For example, here is my configuration for connecting to a database I have called products.



来源:https://stackoverflow.com/questions/37039334/connecting-ibm-mobile-app-builder-to-cloudant-json-data-bluemix-mobile-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!