LogicAppsUX icon indicating copy to clipboard operation
LogicAppsUX copied to clipboard

Add client side validation when updating API Center registration

Open kewear opened this issue 2 months ago • 1 comments

Severity

P2 - High (Major functionality broken)

MCP Server Creation Source

MCP Server in Api Center

Describe the Bug with repro steps

When completing the wizard, see error message in the notifications panel about a failed registration But without a clear reason why.

Image

If I open developer tools I can see the reason. I think we should try to do as much client side validation upfront as a user will have to do a bunch of re-work now

{ "code": "ValidationError", "message": "Invalid request", "details": [ { "message": "The field Title must be a string or array type with a maximum length of '50'." } ] }

Screenshots or Videos

No response

Environment

Canary

Are you experiencing a regression?

No response

Additional context

No response

kewear avatar Oct 31 '25 15:10 kewear

Some more details about the call being made:

https://management.azure.com/subscriptions/c6ab290a-2c71-4003-ab27-386da34d31dc/resourceGroups/kewear-la-mcp/providers/Microsoft.ApiCenter/services/api-mcp-server-demo/workspaces/default/apis/logic-app-connector-uqvfkbmy54xsiws/versions/original/definitions/default-sse?api-version=2023-07-01-preview

Request {"properties":{"title":"SSE Definition for kewearMCPProductFeedbackSharepoint","description":"Auto-generated definition for kewearMCPProductFeedbackSharepoint"}}

Response { "code": "ValidationError", "message": "Invalid request", "details": [ { "message": "The field Title must be a string or array type with a maximum length of '50'." } ] }

kewear avatar Oct 31 '25 18:10 kewear