We are implementing the PubSub Using Client Libraries on for publish data using Linux and NodeJs. Also followed all steps of Quickstart: Using Client Libraries .
But we are getting the below error while publish the data
Received error while publishing: Unable to detect a Project Id in the current environment.
To learn more about authentication and Google APIs, visit:
https://cloud.google.com/docs/authentication/getting-started
Thanks for your help in advance !!
Related
using the code:
import project_lib
project = project_lib.Project()
I tried to use the module "project_lib" in the IBM cloud Pak for data notebook but got the error:
"RuntimeError: Failed to GET project, status: 401".
The package is for accessing the assets (i.e. files) of my projects.
I tried to ask questions on IBM's website or customer services but could not find any valid solution yet. Any help will be much appreciated.
Thanks
You need to pass the parameters project_id and access_token into the Project function to make it work.
from project_lib import Project
project = Project(project_id='YOUR_PROJECT_ID', project_access_token='YOUR_PROJECT_TOKEN')
Im trying to integrate the Customer Data Cloud (Gigya) with Hybris 1905, Where I already installed the gigyaAddon, and gigyabackoffice for the project using the Gigya Documentation. When in the tutorial they open the backoffice it has more options than my backoffice, like Customer Data cloud (Gigya) users or Customer data cloud (Gigya) Raas Configuration. Did I miss something, should I install magento to get those filds, Also When I give the information and press Next I get the following error: "Could not resolve qualifier [gigya Global Advanced]", Why is this happenning ? Thanks for the help.
UPDATE:
When Installing following the SAP tutorial, I found that they told you to configure a session managment, but Im not getting that field with backoffice.... Is that neccesarily to create a connection with Gigya?, Do I have a listener for login events out of the box that I can use?
For support of SAP Commerce Cloud versions 1811 and above (e.g., 1905), use the native connector that is built-in to SAP Commerce Cloud, for additional information see: https://help.sap.com/viewer/50c996852b32456c96d3161a95544cdb/1811/en-US/4fc06a3539a940e6b707c0c543d44053.html
You should not be installing the stand-alone GConnector for use with that version of Hybris/Commerce Cloud.
Using this official Azure tutorial, I was able to perform all the steps until the step Browse to the app where when I browse to the app using http://myNodeJsTestApp.azurewebsites.net I get the following error:
The page cannot be displayed because an internal server error has occurred.
Please note that using same URL that tutorial asks us to use in step Set Node.js runtime of the tutorial, I was able to successfully display the exact same screen shown in that section. So the error is occurring after I got to the step Browse to the app further down. I'm using NodeJS version 8.12.0.
If you follow exactly the steps and don't modify the sample code, the only fault causing Internal server error is the node version 8.12.0.
Azure server doesn't install Node.js of all existing versions, go https://yourwebappname.scm.azurewebsites.net/api/diagnostics/runtime to check available ones.
I recommend to use 8.11.1 LTS version as the tutorial suggests, or you can choose 10.6.0 the latest on Azure.
Are there any way we can connect IBM Watson assistant without using node.js
to run the server?
Can I connect it like Firebase?
You can use the Watson Node SDK to connect with the Watson Assistant API directly from your React application, without the need for another server. This example shows you how to connect a service in the context of a client-side application.
That example includes a server, just so that a user can run that example on their own. It is not required - you can import and instantiate the Watson Assistant SDK in your React code as long as watson-developer-cloud is installed in your project dependencies.
Other links you may find helpful:
- Generic example for using Assistant
- Documentation for the Watson Assistant API, including Node request examples
I am just trying to upgrade my Azure Mobile Service(AMS) to Mobile app service with the help of documentation link provided here.
I have successfully migrated my Mobile service with the help of button provided on portal. After that I also installed node server on my local machine and installed following node package -
npm i -g azure-mobile-apps-compatibility
I have also obtained my Azure Mobile Service script files. Following is my folder hierarchy of Scripts folder -
Now here in this step I am stuck. I am trying to Scaffold the new Azure Mobile Apps backend with the help of following Node command -
scaffold-mobile-app scripts out
When I executed above command, I am getting following errors in node command prompt -
After looking at the errors I thought that there is some problem with my municipality api files. So I also tried removing my municipality.js and permissions.js file. After that I re executed the scaffolding command. But it again gave me the following error -
I did some research to resolve this error. But I did not get any relevant help in that context. Can someone help/ guide me so that I can proceed further in this upgrade activity?