Former method of batch adding to traditional project doesn't seem to work anymore

I’ve used the cmd/bat methods here in the past but now they don’t appear to work and I get this message “Adding observation 265250089 to project 12294
curl: (35) schannel: next InitializeSecurityContext failed: CRYPT_E_NO_REVOCATION_CHECK (0x80092012) - The revocation function was unable to check revocation for the certificate.”

https://forum.inaturalist.org/t/bulk-selection-of-observations-to-add-to-a-project/1747/73?u=dt_almquist

example:

set jwt=NEEDS A REAL VALUE
set project_id=12294
set observation_id=265214682 265223882 265230726 265250089
for %o in (%observation_id%) do ( echo Adding observation %o to project %project_id% & curl “https://api.inaturalist.org/v1/projects/%project_id%/add” -X “POST” -H “Content-Type: application/json” -H “Accept: application/json” -H “Authorization: %jwt%” -d “{"observation_id": %o}” & timeout 1 )
pause

i have no issues running the code from the previous thread. (yours in this thread is not formatted correctly, possibly related to formatting that the forum tries to apply to text that is not marked as code.)

most likely, there’s something in your own machine setup that’s causing issues. for example, this thread (https://stackoverflow.com/questions/54938026/curl-unknown-error-0x80092012-the-revocation-function-was-unable-to-check-r) says that certain antivirus programs block stuff like this.