Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

OpenAPI not valid?

traphix
Nimbostratus
Nimbostratus

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

 

4 REPLIES 4

G-Rob
F5 Employee
F5 Employee

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!

Leslie_Hubertus
Community Manager
Community Manager

Hey @traphix  - welcome to DevCentral! Did the article @G-Rob link help you, or are you still having the issue? If it DID help, please make sure to click Accept as Solution so future users can easily find resolution. And if not, please let us know so we can keep troubleshooting. 

traphix
Nimbostratus
Nimbostratus

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

 

G-Rob
F5 Employee
F5 Employee

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.