I’m using UE 4.18 and in the list of available meta properties, there is no AllowPrivateAccess property (you can check it out on your own: docs/latest#Valid_Meta_Properties).
But I found this meta there (docs/latest/API)
So, after I adding it to my code it still works well.
Thanks.
But I want to stress on one of the problems which could invoke the error 5.