so I tracked the problem to be related to my bit.ly account
for some reason it happens only on the gutenberg posts. The generated bit.ly links go to the “unpublished version” even if the page is published.
If I disable bit.ly it works fine to do the sharing.
still debugging
thanks for your answer.