Hi @Mikello ,
Per my research, The github have updated the graph in the new version. The user need to have the read permission to the document at least. Here is the document about the graph.
https://learn.microsoft.com/en-us/graph/api/drive-list-following?view=graph-rest-1.0&tabs=http
You can use the 3.0 version of the follow document
https://github.com/pnp/sp-dev-fx-webparts/tree/main/samples/react-follow-document
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.