Getting string not matched error while fetching data through mock-api

i have a regex field called pan_number in my pan_details schema .whenever i try to fetch record by providing a pan_number in the url and running it through command prompt i’m getting string not matched error

url : curl -H “X-API-Key: 2ca86990” https://my.api.mockaroo.com/pan_details/EUMPK1234A.json

schema “PAN_DETAILS”
data = generate 1
data[‘pan_number’] = params[‘pan_number’]
data

It looks like it’s working for me. Were you able to resolve your problem?