Content-Length: 359905 | pFad | http://github.com/python-openapi/openapi-core/discussions/757

C6 What causes a `400` error with message `Server not found for <url>`? · python-openapi openapi-core · Discussion #757 · GitHub
Skip to content

What causes a 400 error with message Server not found for <url>? #757

Answered by p1c2u
jtherrmann asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Is BaseAPICallValidator for validating requests, responses, or both?

It's a base class for request and response validation

Why does the validator need to validate the server URL?

Server is part of OpneAPI specification

What exactly does APICallPathFinder._get_servers_iter do?

Finds valid server definition in your specification

What is the fundamental meaning of a ServerNotFound exception?

ServerNotFound exception is raised when your request server does not match any defined servers i…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jtherrmann
Comment options

@jtherrmann
Comment options

@p1c2u
Comment options

@jtherrmann
Comment options

Answer selected by jtherrmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/python-openapi/openapi-core/discussions/757

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy