# Influxdb cloud with Node red

**URL:** <https://community.influxdata.com/t/influxdb-cloud-with-node-red/18777>\
**Category:** InfluxDB 2\
**Created:** [March 8, 2021, 9:59pm UTC](https://community.influxdata.com/t/influxdb-cloud-with-node-red/18777 "2021-03-08T21:59:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nietopa](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/nietopa/32/5977_2.png) [@nietopa](https://community.influxdata.com/u/nietopa)\
**Post date:** [March 8, 2021, 9:59pm UTC](https://community.influxdata.com/t/influxdb-cloud-with-node-red/18777/1 "2021-03-08T21:59:57Z")

</div>

Hello Im using NODE-RED in a Raspberry PI, with influxDB.

Now I want to send the information to INFLUXDB CLOUD, using the same node but with the 2.0 parameters.

I use all the configuration required, URL: [https://us-east-1-1.aws.cloud2.influxdata.com](https://us-east-1-1.aws.cloud2.influxdata.com), TOKEN, Organization and Bucket, but I receive the following error.

ERROR: Write to InfluxDB failed. d [HttpError]: insufficient permissions for write  
at IncomingMessage. (/opt/node\_modules/[@influxdata](https://community.influxdata.com/groups/influxdata)/influxdb-client/src/impl/node/NodeHttpTransport.ts:255:13)  
at IncomingMessage.emit (events.js:327:22)  
at endReadableNT (internal/streams/readable.js:1327:12)  
at processTicksAndRejections (internal/process/task\_queues.js:80:21) {  
statusCode: 403,  
statusMessage: ‘Forbidden’,  
body: ‘{“code”:“forbidden”,“message”:“insufficient permissions for write”}’,  
contentType: ‘application/json; charset=utf-8’,  
json: { code: ‘forbidden’, message: ‘insufficient permissions for write’ },  
code: ‘forbidden’,  
\_retryAfter: 0  
}  
8 Mar 21:48:24 - [error] [influxdb out:2e73380e.b8ee38] HttpError: insufficient permissions for write

Is any permission I need to do in the Influxdb Cloud?

Thanks  
PABLO NIETO

---

<div class="post-metadata">

**Author:** ![Franky1](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/franky1/32/6666_2.png) [@Franky1](https://community.influxdata.com/u/Franky1)\
**Post date:** [March 8, 2021, 10:19pm UTC](https://community.influxdata.com/t/influxdb-cloud-with-node-red/18777/2 "2021-03-08T22:19:46Z")

</div>

> [@nietopa](#):
>
> Is any permission I need to do in the Influxdb Cloud?

Make sure that the TOKEN actually has the write permissions for this bucket.  
This is a typical error. There are “All Access” tokens, the other tokens depend on the bucket.

---

<div class="post-metadata">

**Author:** ![nietopa](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/nietopa/32/5977_2.png) [@nietopa](https://community.influxdata.com/u/nietopa)\
**Post date:** [March 22, 2021, 2:37pm UTC](https://community.influxdata.com/t/influxdb-cloud-with-node-red/18777/3 "2021-03-22T14:37:17Z")

</div>

Thank you very much, I add all permissions and worked well.

---

<div class="post-metadata">

**Author:** ![Aidas\_Janulis](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/aidas_janulis/32/9630_2.png) [@Aidas\_Janulis](https://community.influxdata.com/u/Aidas_Janulis)\
**Post date:** [March 7, 2022, 6:51am UTC](https://community.influxdata.com/t/influxdb-cloud-with-node-red/18777/4 "2022-03-07T06:51:54Z")

</div>

Can you post your node-red flow including Influxdb cloud node please? I was using node-red with local influxdb and Grafana, but now trying to use cloud one and don’t know where to start.

Thank you in advance,  
Aidas
