Google recently issued a notice to Drive Developers stating changes to the API taking effect on the 13th of September, 2021.
As noted by Google:
Will this change affect me?
If your application uses the Drive API to access files which have been shared with a user through link sharing, your application may be affected by this change.
We do not utilize public link sharing.