Skip to content

Why is Ocelot ignoring the first route in my JSON file? #1855

Answered by raman-m
dcmeadley asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dcmeadley !
Thanks for your interest in Ocelot gateway!

I love your text replacement placeholder <<<HOST DELETED FOR SECURITY>>> 🤣

After review of your routes and exception which is:

requestId: 80001b3a-100c-8000-b63f-84710c7967bb,
previousRequestId: no previous request id, 
message: Error Code: UnableToFindDownstreamRouteError 
Message: Failed to match Route configuration for upstream path: /fileserver/storedfiletype, verb: POST. errors found in ResponderMiddleware. 
Setting error response for request path:/fileserver/storedfiletype, request method: POST

...I would say that root cause is Failed to match Route configuration for upstream path: /fileserver/storedfiletype.
This means th…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by raman-m
Comment options

You must be logged in to vote
1 reply
@raman-m
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Initially seen a question could become a new feature or bug or closed ;)
2 participants
Converted from issue

This discussion was converted from issue #1635 on December 19, 2023 09:43.