System.ArgumentException: Invalid destination prefix. #1532
-
can someone explain about this error?? this error, happens when i hit the api with reverse proxy |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
What does your config look like? Seeing this exception means the prefix was shorter than 8 characters, meaning it couldn't possibly be a start of an Absolute Url. |
Beta Was this translation helpful? Give feedback.
What does your config look like?
destinationPrefix is taken from your Destination's Address and we only do minimal validation.
reverse-proxy/src/ReverseProxy/Forwarder/HttpForwarder.cs
Line 260 in 96ed54f
Seeing this exception means the prefix was shorter than 8 characters, meaning it couldn't possibly be a start of an Absolute Url.