web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

I am facing this error sometimes when creating an AI Agent in Copilot Studio.

(3) ShareShare
ReportReport
Posted on by 6
{"isNL2AgentError":true,"error":{"code":"UnknownNL2AgentError","isSystemError":false,"message":"{\"name\":\"AxiosError\",\"message\":\"Request failed with status code 400\",\"data\":{\"ErrorCode\":4003,\"ErrorMessage\":\"The request must contain at least one user message with non-empty content.\",\"ErrorInfo\":null,\"Error\":{\"RetryIn\":null,\"InnerErrors\":[],\"Code\":\"InvalidInput\",\"Message\":\"The request must contain at least one user message with non-empty content.\",\"Properties\":{},\"Diagnostics\":null}},\"status\":400,\"statusText\":\"\",\"responseHeaders\":{\"x-ms-correlation-id\":\"7f66dec6-b68d-4afe-b47f-30ade6acddaf\",\"x-ms-service-request-id\":\"acccd659-1f14-4d89-9cca-85a7268716ba\"}}"}}
I have the same question (7)
  • BM-18110859-0 Profile Picture
    2 on at
    Any resolution or work around from Microsoft side?
  • André Arnaud de Calavon Profile Picture
    303,706 Super User 2026 Season 1 on at
    Hi,

    Do you still have this issue? If so, can you please provide more information about how you create an agent and at what exact moment you get this error? You can also consider asking your question in the Copilot Studio forum: Microsoft Power Platform Community Forum Thread
  • PerezAguiar Profile Picture
    Microsoft Employee on at
    Hey.

    It would be important to get more details. Maybe a screenshot? I'm guessing that this is happening on a specific action and has some sort of connector (SharePoint, OneDrive, etc).  The error message points to trying to perform an HTTP Action and not passing the right parameters.
     
    Regards,
  • Suggested answer
    Valantis Profile Picture
    44 on at
     

    The AxiosError 400 (ErrorCode 4003) occurs when Copilot Studio’s backend receives a request that it perceives as "empty." This happens for two main reasons:

    1. Session Sync Issue: The browser fails to send your typed text to the server (a temporary glitch).

    2. Formatting Conflicts: The input contains hidden characters, unsupported line breaks, or invalid syntax that makes the message unreadable to the system.

    Solution: Refresh and Re-validate

    To resolve this, please follow these steps:

    • Sanitize Your Text: Copy your agent description into a plain text editor (like Notepad) to strip out hidden formatting or extra line breaks, then paste it back in.

    • Force a Session Refresh: Refresh your browser page F5 or try the action in an Incognito/Private window. This forces the platform to re-establish a clean connection.

    • Check Template Fields: If you are using a pre-built template, ensure every required field has at least one character of visible text.

    • Wait for Save: After typing your prompt, wait 2–3 seconds before clicking "Create" to ensure the UI has registered the input.
     
    Best Regards
     
    Valantis

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 166

#2
ManoVerse Profile Picture

ManoVerse 54 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans