Umbraco Heartcore with Nodejs Client project
e
I am setting up a Heartcore project and npm installed the nodejs client library as descripbed here: https://docs.umbraco.com/umbraco-heartcore/client-libraries/node-js. I put the example function in a file and tried running it but my content logs as "[]" (empty). My media image gets back as expected in the logs. I have tried to get one of my nodes in Content tab by their ID but all of them gets me error in console: "umbracoClient.js:15 GET https://cdn.umbraco.io/content/de6574d5-4a22-4c85-af77-dcdf567c0db0 404 (Not Found)". Since I get my image data it should indicated that my project alias and api key is correct. In my Content tab I have a root node which is a Document Type called "Home" and under it I have two nodes of Document Type "Page Template" called "Home" and "Contact". All of them are published. Why can't I fetch the content from my Content tab, just the uploaded images?
Anyone here to help?
3 Views