Open panaC opened 3 years ago
Same issue
> env GOOGLE_APPLICATION_CREDENTIALS=./handler/tests/e2e/credentials.json jest --env=node --detectOpenHandles --globalSetup=./handler/tests/e2e/global-setup.js ./handler/tests/e2e/
Determining test suites to run...Starting writePreview From Draft
Error: 9 FAILED_PRECONDITION: Firebase Terms of Service is not accepted. Navigate to your project's overview page on the Actions Console to accept the Terms of Service.
at Object.callErrorFromStatus (node_modules/@grpc/grpc-js/build/src/call.js:31:26)
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client.js:244:52)
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client-interceptors.js:336:141)
at Object.onReceiveStatus (node_modules/@grpc/grpc-js/build/src/client-interceptors.js:299:181)
at node_modules/@grpc/grpc-js/build/src/call-stream.js:130:78
at processTicksAndRejections (internal/process/task_queues.js:79:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! google-assistant-actions-handler@0.1.0 test-e2e: `env GOOGLE_APPLICATION_CREDENTIALS=./handler/tests/e2e/credentials.json jest --env=node --detectOpenHandles --globalSetup=./handler/tests/e2e/global-setup.js ./handler/tests/e2e/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the google-assistant-actions-handler@0.1.0 test-e2e script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! .npm/_logs/2021-03-09T10_12_31_000Z-debug.log
Hi @omohayui @mandelbroo @taycaldwell Could you help me to check this issue? Thank you in advance
I also got the same error when running the test.
And I have confirmed that the same error is returned when I request the writePreview method in Actions API from the client library.
(node:16712) UnhandledPromiseRejectionWarning: Error: 9 FAILED_PRECONDITION: Firebase Terms of Service is not accepted. Navigate to your project's overview page on the Actions Console to accept the Terms of Service.
But no terms to accept are found in my Actions Console. Has anything changed inside Actions on Google?
did someone fix this problem?
Same problem here
I'm also still having the same problem and asking about it from GCP support cases.
I contacted via mail some Google Developers Experts for Google Assistant
I think the problem is with writePreviewFromDraft()/ writePreviewFromVersion(). If I remove that part the tests are going and that error disappeared but it will fail from 'sendQuery' with the error ' Error: sendInteraction API call failed: Error: 3 INVALID_ARGUMENT: Interaction did not trigger the preview of an action.'.
Hi there! I'm one of Assistant GDEs. Luca, thank you for the report, we got your email. I have already reported this issue to the team of Google, and I heard that they're investigating about it. I intend to post a comment here after receiving the feedback from the team.
I think it is working now. My tests passed. @yoichiro Thanks!
I also confirmed it has fixed! Thanks a lot!
It is working. Thank you in advance :) Great job
Hi everyone,
Thank you for reporting this. We rolled out a fix for this issue, and it should be working now.
I'm closing this issue, but feel free to reopen should the issue come up again.
thanks everyone :+1:
Thanks a lot!!!
The problem is here again !!
Error: 9 FAILED_PRECONDITION: Firebase Terms of Service is not accepted. Navigate to your project's overview page on the Actions Console to accept the Terms of Service.
@atulep
Are you still having the error? I can't get the error now.
I confirm I still have the error @omohayui
Hi everyone,
Thank you for reporting this. We rolled out a fix for this issue, and it should be working now.
I'm closing this issue, but feel free to reopen should the issue come up again.
Hello, the problem is still here..
Hello,
Thanks for reporting this. We did some changes to the API; however, e2e testing went fine, and I can't reproduce this issue now too.
Did you use the same setup & code as in https://github.com/actions-on-google/assistant-conversation-testing-nodejs/issues/4#issue-820519888? Also, does it also fail after:
Determining test suites to run...
Starting writePreview From Draft
?
Did you use the same setup & code as in #4 (comment)? Also, does it also fail after:
To be honest I'm using this project: https://github.com/actions-on-google/assistant-conversation-nodejs
20 days ago, when the problem was resolved here, it was resolved also in the project "assistant-conversation-nodejs"
@atulep could you please tell me which changes did you make to the API, so I can propose pull request in the assistant-conversation-nodejs project ?
Did you use the same setup & code as in #4 (comment)? Also, does it also fail after:
To be honest I'm using this project: https://github.com/actions-on-google/assistant-conversation-nodejs
20 days ago, when the problem was resolved here, it was resolved also in the project "assistant-conversation-nodejs"
If you still experience this error, can you go to the Actions on Google Console and try to accept Terms of Service?
@atulep could you please tell me which changes did you make to the API, so I can propose pull request in the assistant-conversation-nodejs project ?
The change didn't affect the frontend of the API. Sorry for confusion.
can you go to the Actions on Google Console and try to accept Terms of Service?
Unfortunately no, because there is not a checkbox where to accept the terms :-(
The change didn't affect the frontend of the API. Sorry for confusion.
Ok, so the fix was applied to the backend ?
Apologies for delayed reply.
can you go to the Actions on Google Console and try to accept Terms of Service?
Unfortunately no, because there is not a checkbox where to accept the terms :-(
Hm, this doesn't sound right. Can you please describe your setup?
The change didn't affect the frontend of the API. Sorry for confusion.
Ok, so the fix was applied to the backend ?
Yes.
Can you please describe your setup?
There is not any checkbox where to accept the requested terms...I searched everywhere
I'm having the issue but with @assistant/actions
package
https://github.com/actions-on-google/assistant-actions-nodejs/issues/2
any idea how to solve this issue ?