I guess this error message comes from Prometheus' targets UI?
Have you tried using curl against the snmp_exporter? Did you have a look
at the snmp_exporter log output?
(No SNMP(_exporter) expert, just trying to provide some general ideas)
Kind regards,
Christian