Skip to main content
Committed ⭐️⭐️
Jul 4, 2023 5:11 AM UTC
Solved

including cognite libraries for Azure function app not working

Hi ,

  I’m trying to deploy an Azure function on Azure function app. But when I Included Cognite related libraries which I need to read and write data to Cognite data model. It was not working  even though I mentioned to include cognite in requirments.txt still not working. 

Has anybody else faced same issue ? Have you use azure function to connect to cognite (not the cognite functions)/

Committed ⭐️⭐️
Jul 13, 2023 7:20 AM UTC

This issue has been resolved.

4 replies

Dilini Fernando
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
Jul 4, 2023 5:16 AM UTC

Hi @Gagan Gupta,

Thank you for posting this question in Hub.

Could you please share the Cognite SDK version and the screenshot of the error message?

Best regards,
Dilini

 

Murad Sæter
Practitioner ⭐️⭐️⭐️
Practitioner ⭐️⭐️⭐️
Jul 4, 2023 7:36 AM UTC

Can you also share the code and your requirements.txt?

Dilini Fernando
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
Jul 13, 2023 6:57 AM UTC

Hi @Gagan Gupta,

If you still observe this issue, please share the requested information.

Best regards,
Dilini

 

Gagan GuptaAuthorAnswer
Committed ⭐️⭐️
Jul 13, 2023 7:20 AM UTC

This issue has been resolved.