# Using Node-Red with Cloudant - type error when set up Cloudant out node

**URL:** https://discourse.nodered.org/t/using-node-red-with-cloudant-type-error-when-set-up-cloudant-out-node/32079
**Category:** General
**Created:** [27 August 2020 07:26 UTC](https://discourse.nodered.org/t/using-node-red-with-cloudant-type-error-when-set-up-cloudant-out-node/32079 "2020-08-27T07:26:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dianadujing](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dianadujing/32/27797_2.png) [@dianadujing](https://discourse.nodered.org/u/dianadujing)
#### Post date: [27 August 2020 07:26 UTC](https://discourse.nodered.org/t/using-node-red-with-cloudant-type-error-when-set-up-cloudant-out-node/32079/1 "2020-08-27T07:26:24Z")

</div>

Hi there,

I'm working with Node-Red and Cloudant, trying to query data from a Cloudant database file. Using the _node-red-node-cf-cloudant_ nodes.  
This works fine with the database being automatically detected by Node-Red, but when I try to use the host, username and password from the service credentials, I get the error

```auto
TypeError: Cannot read property 'match' of null

```

I'm sure I can log in my Cloudant instance, which belongs to WIoT platform. My end goal is to query docs from Cloudant using Node-Red running on IBM Cloud.

Thank you,  
DJ

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [26 October 2020 07:26 UTC](https://discourse.nodered.org/t/using-node-red-with-cloudant-type-error-when-set-up-cloudant-out-node/32079/2 "2020-10-26T07:26:29Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
