Recording Personal Wake Word Error - Invalid Sampling Rate

Hi,

Previously I have recorded my wake word with PS4 microphone, and there is no issue.
I tried to record another personal wake word using a desk microphone, 3.5 mm jack but converted into usb with an adapter. An i got the following error when recording the sample.

Press enter to record one sample, say your hotword when “recording…” shows up
Expression ‘paInvalidSampleRate’ failed in ‘src/hostapi/alsa/pa_linux_alsa.c’, line: 2048
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &real
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatenc
Traceback (most recent call last):
File “script_recording.py”, line 142, in
record_and_trim(args.hotword_key)
File “script_recording.py”, line 79, in record_and_trim
record_one(directory, i)
File “script_recording.py”, line 39, in record_one
frames_per_buffer=CHUNK)
File “/usr/lib/python3/dist-packages/pyaudio.py”, line 750, in open
stream = Stream(self, *args, **kwargs)
File “/usr/lib/python3/dist-packages/pyaudio.py”, line 441, in init
self._stream = pa.open(**arguments)
OSError: [Errno -9997] Invalid sample rate

Does anyone has any idea how to resolve this?

Thanks!!!