You are viewing limited content. For full access, please sign in.

Question

Question

Path contains invalid character "strPath"

asked on July 15, 2022

Has anyone been presented with this error "(MoveEntry) Path contains invalid character. Parameter name: strPath"

I am sending a variable as part of the route, using patterns I clean the variable, so that only valid characters remain, this is the pattern I am using “(\w+\s\w+\s?\w+\s?\w+)\ yes?”

thanks for you help

 

Ricardo Cairo

0 0

Answer

SELECTED ANSWER
replied on July 15, 2022

Can you track the token values so we can double-check what the value was when it failed?

0 0
replied on July 18, 2022

Thanks for the quick response Miruna, I fixed the problem by adding parentheses to the pattern I was using to clear the variable.


This are the patterns:

the first one:

\s*Channel Connect/(\w+\s\w+\s\w+\s|\w+\s\w+|\w+)

to the result of that pattern, I pass the following pattern

(\w+\s\w+\s?\w+\s?\w+)|(\w+)

thanks for your help

0 0

Replies

You are not allowed to reply in this post.
You are not allowed to follow up in this post.

Sign in to reply to this post.