Dust Community Icon

Error Creating Bot: Invalid Request Body Troubleshooting Guide

·
·

Hi 👋 , Im faced with the following error being thrown when trying to create a bot If you could have a look and tell me what I'd have to do in order to unblock the situation please Error saving AgentInvalid request body: Expecting one of: { type: "mcp_server_configuration", mcpServerViewId: string, dataSources: (null | Array<{ dataSourceViewId: string,

  • Avatar of Adrien (Dust)
    Adrien (Dust)
    ·
    ·

    Hi Marco! I'll have a look and will get back to you ASAP, what tools/capabilities did you try to add to your agent ?

  • Avatar of Marco Schonherr
    Marco Schonherr
    ·
    ·

    Hi Adrien , I had added the a couple of company internal data sources , web search and Data Visualisation . Once I got rid off all that I was indeed able to save the Agent but it takes away quiet a bit from it I've got the feeling

  • Avatar of Marco Schonherr
    Marco Schonherr
    ·
    ·

    And Image generation as well I reckon , is that now something available via Dust leveraging GPT 4.1 ? I perused the forum / slack community, but I did not come to a clear conclusion on that

  • Avatar of Remi
    Remi
    ·
    ·

    Marco Schonherr 👋 Jumping in here. Is the issue resolved on your end? The error message makes me think that you tried to add a MCP tool through the "more" option and it wasn't properly set up. As per image generation capability - yes it's using openAI's new model 4.1 😊

  • Avatar of Marco Schonherr
    Marco Schonherr
    ·
    ·

    Hi Remi , so yes it now seems like I'm abel to add Data Sources and reasoning again without having this error message 👍 I really don't think that I tried to set up anything MCP related though 🤷 I'm still having issues when I comes to imagae generations ( they seem to always fail ) would you like me create a sparate thread for this ?

  • Avatar of Remi
    Remi
    ·
    ·

    Marco Schonherr Sure! Can you share your agent settings too? I'll have a look!