// Imports the Google Cloud client libraryconst{
ContactCenterInsightsClient,}=require('@google-cloud/contact-center-insights');// TODO(developer): replace with your prefered project ID.// const projectId = 'my-project'constclient=newContactCenterInsightsClient();//TODO(library generator): write the actual function you will be testingasyncfunctionlistConversations(){constconversations=awaitclient.listConversations({parent: `projects/${projectId}/locations/${location}`,});console.info(conversations);}listConversations();
Samples
Samples are in the samples/ directory. Each sample's README.md has instructions for running its sample.
Our client libraries follow the Node.js release schedule.
Libraries are compatible with all current active and maintenance versions of
Node.js.
If you are using an end-of-life version of Node.js, we recommend that you update
as soon as possible to an actively supported LTS version.
Google's client libraries support legacy versions of Node.js runtimes on a
best-efforts basis with the following warnings:
Legacy versions are not tested in continuous integration.
Some security patches and features cannot be backported.
Dependencies cannot be kept up-to-date.
Client libraries targeting some end-of-life versions of Node.js are available, and
can be installed through npm dist-tags.
The dist-tags follow the naming convention legacy-(version).
For example, npm install @google-cloud/contact-center-insights@legacy-8 installs client libraries
for versions compatible with Node.js 8.
This library is considered to be stable. The code surface will not change in backwards-incompatible ways
unless absolutely necessary (e.g. because of critical security issues) or with
an extensive deprecation period. Issues and requests against stable libraries
are addressed with the highest priority.
Please note that this README.md, the samples/README.md,
and a variety of configuration files in this repository (including .nycrc and tsconfig.json)
are generated from a central template. To edit one of these files, make an edit
to its templates in
directory.
5 NOT_FOUND: Resource not found (resource=create-conversation-7dab5480_d77c_40e1_89e9_585d6a9eb1e6).
Error: 5 NOT_FOUND: Resource not found (resource=create-conversation-7dab5480_d77c_40e1_89e9_585d6a9eb1e6).
at Object.callErrorFromStatus (node_modules/@grpc/grpc-js/build/src/call.js:31:26)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/call.ts:81:24
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client.js:189:52)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/client.ts:351:36
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/client-interceptors.ts:462:34
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/client-interceptors.ts:424:48
at /workspace/samples/node_modules/@grpc/grpc-js/build/src/call-stream.js:187:78
-> /workspace/samples/node_modules/@grpc/grpc-js/src/call-stream.ts:330:24
at processTicksAndRejections (internal/process/task_queues.js:79:11)
@Killinspoon pointed out that we should set the conversation TTL to 24 hours in the sample because the clean up job only runs once per day. The sample that creates conversation with TTL has only been submitted in NodeJS, so I'll open a new PR to modify the TTL. The other Python and Java samples of the same type haven't been submitted to I'll modify them while they're pending.
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Error: 16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
at Object.callErrorFromStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
-> /workspace/node_modules/@grpc/grpc-js/src/call.ts:81:17
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:190:52)
-> /workspace/node_modules/@grpc/grpc-js/src/client.ts:352:36
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
-> /workspace/node_modules/@grpc/grpc-js/src/client-interceptors.ts:462:34
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
-> /workspace/node_modules/@grpc/grpc-js/src/client-interceptors.ts:424:48
at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:188:78
-> /workspace/node_modules/@grpc/grpc-js/src/call-stream.ts:330:24
at processTicksAndRejections (internal/process/task_queues.js:79:11)
for call at
at ServiceClientImpl.makeUnaryRequest (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:160:30)
-> /workspace/node_modules/@grpc/grpc-js/src/client.ts:324:26
at ServiceClientImpl. (/workspace/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
-> /workspace/node_modules/@grpc/grpc-js/src/make-client.ts:189:15
at /workspace/build/src/v1/contact_center_insights_client.js:282:29
-> /workspace/src/v1/contact_center_insights_client.ts:426:25
at /workspace/node_modules/google-gax/build/src/normalCalls/timeout.js:44:16
-> /workspace/node_modules/google-gax/src/normalCalls/timeout.ts:54:13
at repeat (/workspace/node_modules/google-gax/build/src/normalCalls/retries.js:80:25)
-> /workspace/node_modules/google-gax/src/normalCalls/retries.ts:104:19
at /workspace/node_modules/google-gax/build/src/normalCalls/retries.js:118:13
-> /workspace/node_modules/google-gax/src/normalCalls/retries.ts:144:7
at OngoingCallPromise.call (/workspace/node_modules/google-gax/build/src/call.js:67:27)
-> /workspace/node_modules/google-gax/src/call.ts:81:23
at NormalApiCaller.call (/workspace/node_modules/google-gax/build/src/normalCalls/normalApiCaller.js:34:19)
-> /workspace/node_modules/google-gax/src/normalCalls/normalApiCaller.ts:43:15
at /workspace/node_modules/google-gax/build/src/createApiCall.js:84:30
-> /workspace/node_modules/google-gax/src/createApiCall.ts:118:26
4 DEADLINE_EXCEEDED: Deadline expired before operation could complete.
Error: 4 DEADLINE_EXCEEDED: Deadline expired before operation could complete.
at Object.callErrorFromStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call.js:31:26)
-> /workspace/node_modules/@grpc/grpc-js/src/call.ts:81:24
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:189:52)
-> /workspace/node_modules/@grpc/grpc-js/src/client.ts:351:36
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
-> /workspace/node_modules/@grpc/grpc-js/src/client-interceptors.ts:462:34
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
-> /workspace/node_modules/@grpc/grpc-js/src/client-interceptors.ts:424:48
at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:187:78
-> /workspace/node_modules/@grpc/grpc-js/src/call-stream.ts:330:24
at processTicksAndRejections (internal/process/task_queues.js:79:11)
Process 189 exited with code 2.
Error: Process 189 exited with code 2.
at ChildProcess. (node_modules/pack-n-play/build/src/utils.js:48:22)
-> /workspace/node_modules/pack-n-play/src/utils.ts:62:11
at maybeClose (internal/child_process.js:1022:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
Command failed: node ./createPhraseMatcherAnyOf.js long-door-651
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Error: Command failed: node ./createPhraseMatcherAnyOf.js long-door-651
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
at checkExecSyncError (child_process.js:635:11)
at Object.execSync (child_process.js:671:15)
at execSync (test/createPhraseMatcherAnyOf.test.js:21:28)
at Context.<anonymous> (test/createPhraseMatcherAnyOf.test.js:43:20)
at processImmediate (internal/timers.js:461:21)</pre></details>
at checkExecSyncError (child_process.js:635:11)
at Object.execSync (child_process.js:671:15)
at execSync (test/createAnalysis.test.js:21:28)
at Context.<anonymous> (test/createAnalysis.test.js:55:34)
at processImmediate (internal/timers.js:461:21)</pre></details>
Command failed: node ./createConversation.js long-door-651
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Error: Command failed: node ./createConversation.js long-door-651
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
at checkExecSyncError (child_process.js:635:11)
at Object.execSync (child_process.js:671:15)
at execSync (test/createConversation.test.js:21:28)
at Context.<anonymous> (test/createConversation.test.js:43:20)
at processImmediate (internal/timers.js:461:21)</pre></details>
invalid_grant: Invalid JWT Signature.
Error: invalid_grant: Invalid JWT Signature.
at Gaxios._request (node_modules/gaxios/build/src/gaxios.js:130:23)
-> /workspace/samples/node_modules/gaxios/src/gaxios.ts:158:15
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async GoogleToken.requestToken (node_modules/gtoken/build/src/index.js:238:23)
at async GoogleToken.getTokenAsync (node_modules/gtoken/build/src/index.js:145:20)
at async JWT.refreshTokenNoCache (node_modules/google-auth-library/build/src/auth/jwtclient.js:172:23)
at async JWT.getRequestMetadataAsync (node_modules/google-auth-library/build/src/auth/oauth2client.js:284:17)
at async JWT.getRequestHeaders (node_modules/google-auth-library/build/src/auth/oauth2client.js:247:26)
at async GoogleAuth.authorizeRequest (node_modules/google-auth-library/build/src/auth/googleauth.js:677:25)
at async Promise.all (index 1)
at async prepareRequest (node_modules/@google-cloud/common/build/src/util.js:442:61)
After all the code samples are submitted, we should remove their links from the ignore list of linkinator.config.json. We previously had to add the code sample links here in order to pass the docs presubmit check (This check made sure that only links that exist are added to README files, but when we submitted the code samples, their corresponding GitHub links don't exist yet, so we had to do this workaround).
Command failed: node ./createConversation.js long-door-651
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Error: Command failed: node ./createConversation.js long-door-651
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
at checkExecSyncError (child_process.js:635:11)
at Object.execSync (child_process.js:671:15)
at execSync (test/createAnalysis.test.js:21:28)
at Context.<anonymous> (test/createAnalysis.test.js:64:38)</pre></details>
Command failed: node ./quickstart.js long-door-651 us-central1
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Error: Command failed: node ./quickstart.js long-door-651 us-central1
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
at checkExecSyncError (child_process.js:635:11)
at Object.execSync (child_process.js:671:15)
at execSync (test/quickstart.js:30:28)
at Context.<anonymous> (test/quickstart.js:44:20)
at processImmediate (internal/timers.js:461:21)</pre></details>
Command failed: node ./getOperation.js projects/long-door-651/locations/us-central1/operations/12345
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Error: Command failed: node ./getOperation.js projects/long-door-651/locations/us-central1/operations/12345
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
at checkExecSyncError (child_process.js:635:11)
at Object.execSync (child_process.js:671:15)
at execSync (test/getOperation.test.js:21:28)
at Context.<anonymous> (test/getOperation.test.js:42:22)
at processImmediate (internal/timers.js:461:21)</pre></details>
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Error: 16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
at Object.callErrorFromStatus (node_modules/@grpc/grpc-js/build/src/call.js:31:19)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/call.ts:81:17
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client.js:190:52)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/client.ts:352:36
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/client-interceptors.ts:462:34
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/client-interceptors.ts:424:48
at /workspace/samples/node_modules/@grpc/grpc-js/build/src/call-stream.js:188:78
-> /workspace/samples/node_modules/@grpc/grpc-js/src/call-stream.ts:330:24
at processTicksAndRejections (internal/process/task_queues.js:79:11)
for call at
at ServiceClientImpl.makeUnaryRequest (node_modules/@grpc/grpc-js/build/src/client.js:160:30)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/client.ts:324:26
at ServiceClientImpl. (node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/make-client.ts:189:15
at /workspace/samples/node_modules/@google-cloud/pubsub/build/src/v1/publisher_client.js:214:29
-> /workspace/samples/node_modules/@google-cloud/pubsub/src/v1/publisher_client.ts:305:25
at /workspace/samples/node_modules/google-gax/build/src/normalCalls/timeout.js:44:16
-> /workspace/samples/node_modules/google-gax/src/normalCalls/timeout.ts:54:13
at repeat (node_modules/google-gax/build/src/normalCalls/retries.js:80:25)
-> /workspace/samples/node_modules/google-gax/src/normalCalls/retries.ts:104:19
at /workspace/samples/node_modules/google-gax/build/src/normalCalls/retries.js:118:13
-> /workspace/samples/node_modules/google-gax/src/normalCalls/retries.ts:144:7
at OngoingCall.call (node_modules/google-gax/build/src/call.js:67:27)
-> /workspace/samples/node_modules/google-gax/src/call.ts:81:23
at NormalApiCaller.call (node_modules/google-gax/build/src/normalCalls/normalApiCaller.js:34:19)
-> /workspace/samples/node_modules/google-gax/src/normalCalls/normalApiCaller.ts:43:15
at /workspace/samples/node_modules/google-gax/build/src/createApiCall.js:84:30
-> /workspace/samples/node_modules/google-gax/src/createApiCall.ts:118:26
at processTicksAndRejections (internal/process/task_queues.js:97:5)
Package name: @google-cloud/contact-center-insights
Current release: BETA
Proposed release: GA
Instructions
Check the lists below, adding tests / documentation as required. Once all the "required" boxes are ticked, please create a release and close this issue.
Required
28 days elapsed since last beta release with new API surface
Server API is GA
Package API is stable, and we can commit to backward compatibility
All dependencies are GA
Optional
Most common / important scenarios have descriptive samples
Public manual methods have at least one usage sample each (excluding overloads)
Per-API README includes a full description of the API
Per-API README contains at least one “getting started” sample using the most common API scenario
Manual code has been reviewed by API producer
Manual code has been reviewed by a DPE responsible for samples
'Client Libraries' page is added to the product documentation in 'APIs & Reference' section of the product's documentation on Cloud Site
Command failed: node ./createPhraseMatcherAllOf.js long-door-651
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Error: Command failed: node ./createPhraseMatcherAllOf.js long-door-651
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
at checkExecSyncError (child_process.js:635:11)
at Object.execSync (child_process.js:671:15)
at execSync (test/createPhraseMatcherAllOf.test.js:21:28)
at Context.<anonymous> (test/createPhraseMatcherAllOf.test.js:43:20)
at processImmediate (internal/timers.js:461:21)</pre></details>
4 DEADLINE_EXCEEDED: Deadline expired before operation could complete.
Error: 4 DEADLINE_EXCEEDED: Deadline expired before operation could complete.
at Object.callErrorFromStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
-> /workspace/node_modules/@grpc/grpc-js/src/call.ts:81:17
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:190:52)
-> /workspace/node_modules/@grpc/grpc-js/src/client.ts:352:36
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
-> /workspace/node_modules/@grpc/grpc-js/src/client-interceptors.ts:462:34
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
-> /workspace/node_modules/@grpc/grpc-js/src/client-interceptors.ts:424:48
at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:188:78
-> /workspace/node_modules/@grpc/grpc-js/src/call-stream.ts:330:24
at processTicksAndRejections (internal/process/task_queues.js:79:11)
for call at
at ServiceClientImpl.makeUnaryRequest (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:160:30)
-> /workspace/node_modules/@grpc/grpc-js/src/client.ts:324:26
at ServiceClientImpl. (/workspace/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
-> /workspace/node_modules/@grpc/grpc-js/src/make-client.ts:189:15
at /workspace/build/src/v1/contact_center_insights_client.js:282:29
-> /workspace/src/v1/contact_center_insights_client.ts:426:25
at wrappedCall (/workspace/node_modules/google-gax/build/src/paginationCalls/pagedApiCaller.js:86:20)
-> /workspace/node_modules/google-gax/src/paginationCalls/pagedApiCaller.ts:107:15
at /workspace/node_modules/google-gax/build/src/normalCalls/timeout.js:44:16
-> /workspace/node_modules/google-gax/src/normalCalls/timeout.ts:54:13
at repeat (/workspace/node_modules/google-gax/build/src/normalCalls/retries.js:80:25)
-> /workspace/node_modules/google-gax/src/normalCalls/retries.ts:104:19
at Immediate._onImmediate (/workspace/node_modules/google-gax/build/src/normalCalls/retries.js:118:13)
-> /workspace/node_modules/google-gax/src/normalCalls/retries.ts:144:7
at processImmediate (internal/timers.js:463:21)
Command failed: node ./setProjectTtl.js long-door-651
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Error: Command failed: node ./setProjectTtl.js long-door-651
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
at checkExecSyncError (child_process.js:635:11)
at Object.execSync (child_process.js:671:15)
at execSync (test/setProjectTtl.test.js:21:28)
at Context.<anonymous> (test/setProjectTtl.test.js:49:20)
at processImmediate (internal/timers.js:461:21)</pre></details>
8 RESOURCE_EXHAUSTED: Your project has exceeded a limit: (type="topics-per-project", current=10003, maximum=10000).
Error: 8 RESOURCE_EXHAUSTED: Your project has exceeded a limit: (type="topics-per-project", current=10003, maximum=10000).
at Object.callErrorFromStatus (node_modules/@grpc/grpc-js/build/src/call.js:31:26)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/call.ts:81:24
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client.js:189:52)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/client.ts:351:36
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/client-interceptors.ts:462:34
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
-> /workspace/samples/node_modules/@grpc/grpc-js/src/client-interceptors.ts:424:48
at /workspace/samples/node_modules/@grpc/grpc-js/build/src/call-stream.js:187:78
-> /workspace/samples/node_modules/@grpc/grpc-js/src/call-stream.ts:330:24
at processTicksAndRejections (internal/process/task_queues.js:79:11)
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Error: 16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
at Object.callErrorFromStatus (/workspace/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
-> /workspace/node_modules/@grpc/grpc-js/src/call.ts:81:17
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:190:52)
-> /workspace/node_modules/@grpc/grpc-js/src/client.ts:352:36
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:365:141)
-> /workspace/node_modules/@grpc/grpc-js/src/client-interceptors.ts:462:34
at Object.onReceiveStatus (/workspace/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:328:181)
-> /workspace/node_modules/@grpc/grpc-js/src/client-interceptors.ts:424:48
at /workspace/node_modules/@grpc/grpc-js/build/src/call-stream.js:188:78
-> /workspace/node_modules/@grpc/grpc-js/src/call-stream.ts:330:24
at processTicksAndRejections (internal/process/task_queues.js:79:11)
for call at
at ServiceClientImpl.makeUnaryRequest (/workspace/node_modules/@grpc/grpc-js/build/src/client.js:160:30)
-> /workspace/node_modules/@grpc/grpc-js/src/client.ts:324:26
at ServiceClientImpl. (/workspace/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
-> /workspace/node_modules/@grpc/grpc-js/src/make-client.ts:189:15
at /workspace/build/src/v1/contact_center_insights_client.js:282:29
-> /workspace/src/v1/contact_center_insights_client.ts:426:25
at /workspace/node_modules/google-gax/build/src/normalCalls/timeout.js:44:16
-> /workspace/node_modules/google-gax/src/normalCalls/timeout.ts:54:13
at repeat (/workspace/node_modules/google-gax/build/src/normalCalls/retries.js:80:25)
-> /workspace/node_modules/google-gax/src/normalCalls/retries.ts:104:19
at /workspace/node_modules/google-gax/build/src/normalCalls/retries.js:118:13
-> /workspace/node_modules/google-gax/src/normalCalls/retries.ts:144:7
at OngoingCallPromise.call (/workspace/node_modules/google-gax/build/src/call.js:67:27)
-> /workspace/node_modules/google-gax/src/call.ts:81:23
at NormalApiCaller.call (/workspace/node_modules/google-gax/build/src/normalCalls/normalApiCaller.js:34:19)
-> /workspace/node_modules/google-gax/src/normalCalls/normalApiCaller.ts:43:15
at /workspace/node_modules/google-gax/build/src/createApiCall.js:84:30
-> /workspace/node_modules/google-gax/src/createApiCall.ts:118:26
at runNextTicks (internal/process/task_queues.js:62:5)
at processImmediate (internal/timers.js:434:9)
Command failed: node ./createConversationWithTtl.js long-door-651
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
Error: Command failed: node ./createConversationWithTtl.js long-door-651
16 UNAUTHENTICATED: Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
at checkExecSyncError (child_process.js:635:11)
at Object.execSync (child_process.js:671:15)
at execSync (test/createConversationWithTtl.test.js:21:28)
at Context.<anonymous> (test/createConversationWithTtl.test.js:43:26)
at processImmediate (internal/timers.js:461:21)</pre></details>