Bug ID 773309: API Profile: Real swagger can not be loaded with "transaction failed:incomplete command" error message

Last Modified: Jul 21, 2021

Bug Tracker

Affected Product:  See more info
BIG-IP APM(all modules)

Known Affected Versions:
15.0.0, 15.0.1, 15.0.1.1, 15.0.1.2, 15.0.1.3, 15.0.1.4, 15.1.0, 15.1.0.1, 15.1.0.2, 15.1.0.3, 15.1.0.4, 15.1.0.5, 15.1.1, 15.1.2, 15.1.2.1, 15.1.3, 15.1.3.1

Fixed In:
16.0.0

Opened: Apr 16, 2019
Severity: 3-Major

Symptoms

When uploading a valid swagger file (OpenAPI version 2.0) to create an API Protection profile, the operation fails with an error message: info: [AccessDeployConfigWorker] Error in submitting transaction: Error: transaction failed:incomplete command.

Impact

The operation produces the error. This prevents the API Protection profile from being created using the swagger file, which is very inconvenient. This error also affects the AGC API Protection use case.

Conditions

The swagger file contains quotation marks that are not escaped, e.g., the swagger file has description fields similar to the following examples. JSON: "description": "this quote \" will error" YAML: description: 'this quote " will error'

Workaround

You can manually add the escape characters to the swagger file so that this error does not occur. Using the examples for JSON and YAML, this is how to fix them: JSON: "description": "this quote \\\" won't error" YAML: description: 'this quote \" won't error'

Fix Information

None

Behavior Change