Error 401 when trying to import a released collection

Hello,

I’m having trouble importing a released collection using the Subscription URL & my Token in OpenMRS. I’m getting a 401 Unauthorized error.

HTTP/1.1 401 Unauthorized caused by: java.io.IOException: HTTP/1.1 401 Unauthorized at org.openmrs.module.openconceptlab.client.OclClient.executeExportRequest(OclClient.java:138) at org.openmrs.module.openconceptlab.client.OclClient.fetchOclConcepts(OclClient.java:129) at org.openmrs.module.openconceptlab.importer.Importer$2.run(Importer.java:150) at org.openmrs.module.openconceptlab.importer.Importer.runAndHandleErrors(Importer.java:213)

Did anybody experience something similar ?

Thank you !

Hi @thomasrod, is this issue still happening? If so, maybe we could do some troubleshooting on the OpenMRS Squad call? We have that on Mondays at 10am EDT.

Hi @jamlung , it’s fine now. We mitigated it by setting the collection & expansions as Public.

Thanks,

3 Likes