Genesys Cloud - Main

 View Only

Sign Up

Expand all | Collapse all

Getting 404 error while creating prompt resources using postman collection runner

  • 1.  Getting 404 error while creating prompt resources using postman collection runner

    Posted 08-06-2025 12:36

    Hey , 

    Could anyone help me with 404 issue : 

    I am using csv file to do bulk creation of prompts and later adding the ttsString using 2nd request in same collection. 

    No error with the body of both request. 

    after creating prompts , its not replacing the promptId with the action prompt id that generated using first request run.

    I am using below script in first request to capture the prompt id dynamically. 

    let json=pm.response.json();
    pm.collectionVariables.set("promptId",json.id);


    #API/Integrations

    ------------------------------
    Nirdesh Yadav
    ------------------------------


  • 2.  RE: Getting 404 error while creating prompt resources using postman collection runner
    Best Answer

    Posted 08-06-2025 12:58

    Hello Nirdesh, 

    First, I recommend opening a ticket with product support as they would be able to dig into logging and investigate in far more depth than we can do here in a public forum. 

    Generally a 404 means, as you can see, a not found. This could be because of the prompt timing. Meaning that your not giving the system enough time with the first request to generate a valid id. So the second request is trying to pull something that doesn't exist yet thus you get a 404. 

    After the first request it might be a good idea to run a request to make sure you get a valid id returned before moving on with the second request where the id is needed. 

    Cheers, 



    ------------------------------
    Cameron
    Online Community Manager/Moderator
    ------------------------------