# general


07/12/2022, 10:40 PM
Hi everyone! I am playing a little bit with Pulumi to get into it. I tried out the google-native sdk. I wrote following code:
Copy code
import * as gcp from "@pulumi/google-native";

const customProvider = new gcp.Provider("default",{
    project: "12312312"

const agent = new gcp.dialogflow.v3.Agent("Test", {
    defaultLanguageCode: "DE",
    displayName: "Pulumi-Demo",
    timeZone: "Europe/Berlin",
    location: "global",
}, {
    provider: customProvider

const page = new gcp.dialogflow.v3.Page("basicPage", {
    displayName: "BasicPage",
    flowId: agent.startFlow,
    location: "global",
}, {
    provider: customProvider
Poorly I am getting the following error message:
error: error sending request: googleapi: Error 400: Page name should not be specified as it will be automatically generated by Dialogflow upon creation.: "<>" map[__autonamed:true agentId:v3/projects/.../locations/global/agents/c6e7342e-3385-4846-af64-cbf6918c2b39 displayName:Hallo flowId:projects/.../locations/global/agents/c6e7342e-3385-4846-af64-cbf6918c2b39/flows/00000000-0000-0000-0000-000000000000 location:global name:projects/.../locations/global/agents/v3/projects/.../locations/global/agents/c6e7342e-3385-4846-af64-cbf6918c2b39/flows/projects/.../locations/global/agents/c6e7342e-3385-4846-af64-cbf6918c2b39/flows/00000000-0000-0000-0000-000000000000/pages/5757dc8e-e2ce-4d51-a257-675cd7c00e01-5bc9156 project:...]
It seams Pulumi wants to set the name / id of the page. But google does not allow it. Someone who tried this earlier? Thanks for helping!