Clarify default error response format across APIM versions#10671
Open
kavindugeethshan wants to merge 2 commits intowso2:master-backupfrom
Open
Clarify default error response format across APIM versions#10671kavindugeethshan wants to merge 2 commits intowso2:master-backupfrom
kavindugeethshan wants to merge 2 commits intowso2:master-backupfrom
Conversation
This PR clarifies the default error response format behavior in WSO2 API Manager by adding a version-specific note to the error handling documentation. Older APIM versions ( 4.0.0) return XML based error responses by default, while newer versions return JSON-based responses. This helps avoid confusion when following the troubleshooting guide. Fixes wso2#10660
WalkthroughA documentation note was added to clarify that the default error response format in WSO2 API Manager is version-dependent, with XML as the default in older versions and JSON in newer versions. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR clarifies the default error response format behavior in WSO2 API Manager
by adding a version-specific note to the error handling documentation.
Older APIM versions (e.g., 4.0.0) return XML-based error responses by default,
while newer versions return JSON-based responses. This helps avoid confusion
when following the troubleshooting guide.
Fixes #10660
Purpose
Clarify documentation to avoid confusion about default error response formats across APIM versions.
Resolves #10660.
Goals
Improve accuracy and clarity of the error handling documentation by adding version-specific information.
Approach
Added a concise note to the existing error handling documentation indicating version-dependent behavior.
User stories
As a user following the troubleshooting guide, I want to understand why error responses differ between APIM versions.
Release note
Documentation update clarifying version-dependent default error response formats.
Documentation
Updated: Error Handling documentation in docs-apim repository.
Summary by CodeRabbit