Add client side validation when updating API Center registration
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.
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
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'." } ] }