What causes a 400
error with message Server not found for <url>
?
#757
-
All of the API endpoints for the test deployment of our Flask app, which is deployed via Amazon API Gateway, are currently returning a response like the one below:
We depend on the latest pre-release of The error message leads me to believe that I have a couple of questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
HI @jtherrmann the error "Server not found for https://vd2gh6uqw3.execute-api.us-west-2.amazonaws.com/api/user" means your OpenAPI specification doesn't define server that match url from your request.
It's a base class for request and response validation
Server is part of OpneAPI specification
Finds valid server definition in your specification
|
Beta Was this translation helpful? Give feedback.
HI @jtherrmann
the error "Server not found for https://vd2gh6uqw3.execute-api.us-west-2.amazonaws.com/api/user" means your OpenAPI specification doesn't define server that match url from your request.
It's a base class for request and response validation
Server is part of OpneAPI specification
Finds valid server definition in your specification
ServerNotFound
exception is raised when your request server does not match any defined servers i…