Legacy Dev Forum Posts

 View Only

Sign Up

Trying to update audio prompt with .wav file

  • 1.  Trying to update audio prompt with .wav file

    Posted 06-05-2025 18:32

    Robert_Voor | 2024-09-26 14:28:05 UTC | #1

    The tutorial for updating a prompt specifies a POST action to get the language resource, but in two of the forums the facilitator specifies:

    "first do a GET to prompt/id/resource/language endpoint". "you need to do a get to the prompt resource to get the uploadUri"

    When running the tutorial POST command (architectapi.postarchitectpromptresources) I get the error "Prompt already has a resource with language 'en-us'." Should I be doing a GET instead (architectapi.getarchitectpromptresource)?


    MelissaBailey | 2024-09-26 17:54:20 UTC | #2

    Yes if the prompt already has a resource in that language, just do a get to fetch the existing resource and use the uploadUri to upload your new audio to it. The tutorial must be written from the perspective of creating a new resource.


    system | 2024-10-27 17:54:45 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 29567