# Invalid credentials with @hermannp/node-red-getproduction-fusionsolar

**URL:** <https://discourse.nodered.org/t/invalid-credentials-with-hermannp-node-red-getproduction-fusionsolar/78511>\
**Category:** General\
**Created:** [18 May 2023 14:35 UTC](https://discourse.nodered.org/t/invalid-credentials-with-hermannp-node-red-getproduction-fusionsolar/78511 "2023-05-18T14:35:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheBlackOne](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/theblackone/32/79907_2.png) [@TheBlackOne](https://discourse.nodered.org/u/TheBlackOne)\
**Post date:** [18 May 2023 14:35 UTC](https://discourse.nodered.org/t/invalid-credentials-with-hermannp-node-red-getproduction-fusionsolar/78511/1 "2023-05-18T14:35:22Z")

</div>

Hey!

I am trying to use the module @hermannp/node-red-getproduction-fusionsolar ([node-red-getproduction-fusionsolar (node) - Node-RED](https://flows.nodered.org/node/@hermannp/node-red-getproduction-fusionsolar/in/udGkcCy3MDwK))

Unfortunately, it returns "Error: Invalid credentials for openAPI login"

I verified that the credentials are correct via Postman. The problem is that the code of the module expects a field in the returned object to fetch a token, but the token is in fact returned in a cookie (see instructions here: [Communicate with FusionSolar through an openAPI Account - Huawei Enterprise Support Community](https://forum.huawei.com/enterprise/en/communicate-with-fusionsolar-through-an-openapi-account/thread/591478-100027))

I was looking for reaching out to the author directly here or on NPM, but I seem to be blind 🙂

Any help is appreciated.

Thanks,  
TBO

---

<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:** [17 July 2023 14:36 UTC](https://discourse.nodered.org/t/invalid-credentials-with-hermannp-node-red-getproduction-fusionsolar/78511/2 "2023-07-17T14:36:00Z")

</div>

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