IBM Support

LI78340: RECEIVING HTTP 406 NOT ACCEPTED WHEN HTTP HEADER CONTENT-TYPE IS NOT GIVEN "TEXT/XML" ON REST RESOURCE REQUEST

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When testing an API in the API Manager user interface a user may
    experience a HTTP 406 response from a HTTP GET assemble resource
    invocation.
    This occurs if the GET will only accept the request if the
    header "Content-Type" is specified.
    If the header is not specified, HTTP 406 Not Accepted is
    returned from API Manager internal test tool.
    

Local fix

  • Add a HTTP header "Content-Type: text/xml" in the inbound test
    request.
    

Problem summary

  • When testing an API in the API Manager user interface a user may
    experience a HTTP 406 response from a HTTP GET assemble resource
    invocation.
    This occurs if the GET will only accept the request if the
    header "Content-Type" is specified.
    If the header is not specified, HTTP 406 Not Accepted is
    returned from API Manager internal test tool.
    
    The test tool should have been sending a default header of
    Content-Type */*
    
    The API Management code has been updated to resolve this error.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    LI78340

  • Reported component name

    IBM API MANAGEM

  • Reported component ID

    5725L3000

  • Reported release

    300

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-12-09

  • Closed date

    2015-03-23

  • Last modified date

    2015-03-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    IBM API MANAGEM

  • Fixed component ID

    5725L3000

Applicable component levels

  • R300 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSWHYP","label":"IBM API Management"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"3.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 March 2015