Hello, guys. I have been working on an App on the SIR model and every time i share it via private link, after a few hours, it shows an error that the application is private. I think it is the problem with the link i’m using. To, get the private link, i click the cog logo in the top left and i click on share and i copy the private link. So, can anybody please tell me what I am doing wrong and how how to fix the Error…Thank You soo much!
private links require a key
Valid
https://5K5ZT233KY6JUIOI.anvil.app/XOQPKVVNT3JLBX2BLFMF5OAB
Not Valid
https://5k5zt233ky6juioi.anvil.app/
Notice when you load a page
the app will check the key
if the key is valid then the app will load
once the checks have been made then the key is dispensed with
so after refreshing the page at some point after a few hours… the url no longer has the key and anvil determines that it is not a valid request!
If you don’t want this behaviour consider publishing via a public link
Use the Publish rather than Share option and share via public link instead.
3 Likes
okay. Thank You!. I will try doing that…