# Subflow with Credentials

**URL:** <https://discourse.nodered.org/t/subflow-with-credentials/46349>\
**Category:** General\
**Created:** [27 May 2021 15:06 UTC](https://discourse.nodered.org/t/subflow-with-credentials/46349 "2021-05-27T15:06:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nacartwright](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nacartwright/32/41906_2.png) [@nacartwright](https://discourse.nodered.org/u/nacartwright)\
**Post date:** [27 May 2021 15:06 UTC](https://discourse.nodered.org/t/subflow-with-credentials/46349/1 "2021-05-27T15:06:45Z")

</div>

I'm using the node-red-contrib-google-calendar node (which is awesome btw). It works great. Though, I crated a subflow off what I had originally done in the main flow and it no longer seems to be working. It allows for entering in the credentials, authenticates, but when it goes to retrieve calendarIDs it craps out with TypeError: Cannot read property 'request' of null.

I thought I read on a post somewhere that subflows cannot contain nodes with credentials. Is that accurate?

---

<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 July 2021 15:07 UTC](https://discourse.nodered.org/t/subflow-with-credentials/46349/2 "2021-07-26T15:07:20Z")

</div>

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