Overview
You can create a password protected visitor link (User Guide page HERE)
When you try to open the link, you might get the following pop-up:
And an error can be observed in Windows event logs:
Message: The link is either expired or invalid.
URL: /grpc/v1/get-shared-link-info
Method: POST
Status Code: 500
Stack Trace
gRPC.generated.cpp, 26356, The link is either expired or invalid. (0x80040130)
RPCSharedLinksPublic.cpp, 317, The link is either expired or invalid. (0x80040130)
RPCSharedLinksPublicHelper.cpp, 479, The link is either expired or invalid. (0x80040130)
(M-Files <version> <timestamp>)
Solution
The error appears if the link is created of a file without file extension.
You have two options to share the file: 1) You can create a visitor link without a password or 2) You can append the file with an extension.
We have an open issue (ID 172058) about this and you can see released fixes HERE
