Skip to content
This repository was archived by the owner on Feb 29, 2024. It is now read-only.
This repository was archived by the owner on Feb 29, 2024. It is now read-only.

Permission Error #18

Open
Open
@abrahamfazil

Description

@abrahamfazil

I followed all the setup instructions on the GitHub page, but I keep getting a permission error. I tried it with a service account with 'Actions Admin' and 'Owner' but I keep getting a permission error.

Below is my code :

import {ActionsOnGoogleTestManager} from '@assistant/conversation-testing';

const PROJECT_ID = 'my-project-id';
const TRIGGER_PHRASE = 'my trigger phrase';

const testManager = new ActionsOnGoogleTestManager({ projectId: PROJECT_ID });
let response = testManager.sendQuery(TRIGGER_PHRASE);

response.then((a) => { console.log(a); }, (error) => { console.log(error); });

Below is the error I am getting on the console:

Error: sendInteraction API call failed: Error: 7 PERMISSION_DENIED: The caller does not have permission
at ActionsApiHelper.sendInteraction (/Users/.../Documents/node-google-assistant-test/node_modules/@assistant/conversation-testing/dist/actions-api-helper.js:47:19)
at async ActionsOnGoogleTestManager.sendInteraction (/Users/.../Documents/node-google-assistant-test/node_modules/@assistant/conversation-testing/dist/action-on-google-test-manager.js:79:31)

Any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions