<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:07:30 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-671] Respond with descriptive information in consistent JSON on bad requests and server errors</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-671</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;Use JSON to describe explanations of bad requests or server errors. &lt;/p&gt;

&lt;p&gt;Need to decide on what structure to use. It might be the same as the one used for 422 validation errors.&lt;/p&gt;</description>
                <environment></environment>
        <key id="80227">FOLIO-671</key>
            <summary>Respond with descriptive information in consistent JSON on bad requests and server errors</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Won&apos;t Do</resolution>
                                                        <assignee accountid="-1">Unassigned</assignee>
                                                                <reporter accountid="63e2a2771b13d42998e4e706">Marc Johnson</reporter>
                                    <labels>
                            <label>potential-decision</label>
                    </labels>
                <created>Tue, 13 Jun 2017 14:01:42 +0000</created>
                <updated>Wed, 3 Feb 2021 12:17:45 +0000</updated>
                            <resolved>Wed, 3 Feb 2021 12:04:09 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                <comments>
                                                            <comment id="188523" author="712020:38d1a08f-86a8-4df2-9191-239b16b0a81a" created="Tue, 13 Jun 2017 14:46:43 +0000"  >&lt;p&gt;Just remember that we can not guarantee that we always return Json structured errors, &quot;connection refused&quot; is a prime example of one where our servers have no control over the message. So the client code must be able to handle plaintext error messages, at least in some way. &lt;/p&gt;</comment>
                                                            <comment id="188525" author="63e2a2771b13d42998e4e706" created="Tue, 13 Jun 2017 15:39:10 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A38d1a08f-86a8-4df2-9191-239b16b0a81a&quot; class=&quot;user-hover&quot; rel=&quot;712020:38d1a08f-86a8-4df2-9191-239b16b0a81a&quot; data-account-id=&quot;712020:38d1a08f-86a8-4df2-9191-239b16b0a81a&quot; accountid=&quot;712020:38d1a08f-86a8-4df2-9191-239b16b0a81a&quot; rel=&quot;noreferrer&quot;&gt;Heikki Levanto&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Good point, I agree that the modules have no control over this and the client needs to be able to handle it.&lt;/p&gt;

&lt;p&gt;By bad requests and server errors I was thinking about HTTP responses with a status code within the 400 and 500 ranges respectively.  In my mind connection refused is a lower level error (I don&apos;t know if the javascript surfaces this differently). Are you referring to the same kind of error?&lt;/p&gt;</comment>
                                                            <comment id="188527" author="712020:38d1a08f-86a8-4df2-9191-239b16b0a81a" created="Tue, 13 Jun 2017 16:11:13 +0000"  >&lt;p&gt;I wasn&apos;t thinking of any particular error codes. There can be all kind of proxies, load balancers, and firewalls between the client and our server, and each of those can come up with all kind of errors. As long as the client code can somehow handle those, it is OK. It doesn&apos;t have to be pretty, but at least the client should not crash and burn - especially if the client is also part of our services.&lt;/p&gt;</comment>
                                                            <comment id="188530" author="63e2a2771b13d42998e4e706" created="Wed, 3 Feb 2021 12:04:09 +0000"  >&lt;p&gt;Closing as pre-dates the new decision making process and has not progressed&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="57039">RMB-324</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="74533">STCON-18</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="79814">FOLIO-611</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="80912">FOLIO-1716</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="81197">FOLIO-1965</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10144"><![CDATA[Core: Platform]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzxpcf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 13 Jun 2017 14:46:43 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>