I'm having this issue in a native Win10 project.
The URL is properly formatted, and tracing the issue, it shows that for some reason, in RequestBuilderImplementation.cs, the extraction of the RelativePath does not succeed. It happens no matter what the URL is, as long as it is a valid URL.
Has anyone ran into this issue before? I'm on Build 10240.
How you use the refit c# for UWP @fonix232 ??
Can you help me?
I don't, I can't, because of this error. Otherwise, I'd use it as one uses
it in a generic .Net project.
On 23 September 2015 at 16:20, Rafael da Silva Ferreira <
[email protected]> wrote:
How you use the refit c# for UWP @fonix232 https://github.com/fonix232
??
Can you help me?—
Reply to this email directly or view it on GitHub
https://github.com/paulcbetts/refit/issues/186#issuecomment-142616294.
This happened to me yesterday, you most likely forgot a beginning slash in the path on your interface.
[Get("users")]
// Should be..
[Get("/users")]
If any path in an interface is wrong, this error is thrown.
Indeed that has been the issue. I missed one of the interface beginning slashes (with an API of over 120 calls, it was easy to miss).
Most helpful comment
This happened to me yesterday, you most likely forgot a beginning slash in the path on your interface.
If any path in an interface is wrong, this error is thrown.