As announced here https://help.salesforce.com/s/articleView?id=000396217&type=1, sample integration classes should be adapted to use static resources instead of deprecated Heroku endpoints.