I have found several old posts on this forum with this similar error. But none of these posts have provided a solution for my problem. If you can help me with this, it is deeply appreciated.
As shown in the picture, the application will read the the local locations of the pictures from an excel file and send each picture to the Google vision API and write the assessment by the Google vision API back to the spreadsheet.
It worked well only for the first picture in the first try. Afterwards, the same error “Safe Search: Cannot access a disposed object. Object name: ‘Google.Apis.Http.ConfigurableHttpClient’” persisted, even after I updated all dependencies as one of the earlier posts suggested.
Please help, if you can. Thank you.