IBM Support

BAQ-STATUS-CODE 302 returned from new RESTful API Requester in CICS application

Troubleshooting


Problem

You are setting up a new RESTful API requester from a CICS Transaction Server for z/OS (CICS TS) application, which is calling an API in the same z/OS Connect environment.  When the program is run, you receive a BAQ-STATUS-CODE of 00000302. 
 
 

Cause

The description of HTTP status code 00000302 can be found in topic HTTP Response Code Reference of the z/OS Connect Enterprise Edition documentation:
302 (Found)
The requested resource has been either moved temporarily, or may be requested by using a different HTTP request.
The BAQ-STATUS-CODE 302 is the API requester equivalent of the API provider HTTP status code 302, which is returned when an insecure connection is used but requireSecure="true" is specified in the SERVER.XML.  The 302 is almost always due to requireSecure being set to true, but an HTTP connection being used.

Resolving The Problem

Send requests over required HTTPS connections when specifying requireSecure="true" in the SERVER.XML.  See Configuration elements topic in the z/OS Connect EE documentation for more information.

Document Location

Worldwide

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSNPJM","label":"IBM z\/OS Connect"},"ARM Category":[{"code":"a8m0z0000001f5eAAA","label":"API Requester"}],"ARM Case Number":"TS003455371","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"2.0;3.0","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Product Synonym

zCEE z/OS Connect EE

Document Information

Modified date:
14 February 2023

UID

ibm16118108