01-Feb-2023 04:36
Hi. New here.
We use 15.1.4 with ASM licensed. According to documentation, OpenAPI 3.0 specifications should be available since 14.1.3.
We get "openapi.json is not a valid OpenAPI spec file" when trying the "Guided Configuration" on the ASM module with a spec on 3.0.2. Any idea what we are missing?
BR,
Raphael
02-Feb-2023 14:21
Raphael,
Thanks for posting and welcome to DevCentral!
Does this K article sound like the issue that you're experiencing? https://support.f5.com/csp/article/K89943720
Thanks!
06-Feb-2023 17:27
18-Apr-2023 02:04
Hi. That K article sounds like the issue we are experiencing.
Now, we have the same issue not only on the ASM module, but also when trying to create a APM API protection profile. Same error message: "/var/config/rest/downloads/openapi.json is not a valid OpenAPI spec file.".
The openapi spec file is in version 3.0.2 and used with other tools without issues.
Furthermore, we now also have an F5 running 16.1.3. Again, when creating an API protection profile on APM it fails. This time with the error message: "java.net.ProtocolException: status:400, body:{"code":400,"message":"transaction failed:\"the\" unknown property","errorStack":[],"apiError":2}".
What's wrong with our approach?
BR,
Raphael
21-Apr-2023 08:46
So the error changed when you upgraded to version 16.1.3? The error message with the 400 status shows that there is unexpected data in the file. I understand that it's working with other tools, but we'd need to see that file to diagnose. Thus, a support case is likely your best.