Invalid Request when i try to generate CSID

1)generated private key using
openssl ecparam -name secp256k1 -genkey -noout -out PrivateKey.pem
2) generated public key using
openssl ecparam -name secp256k1 -genkey -noout -out PrivateKey.pem
3) prepared config file in CNF file type with content
oid_section=OIDS
[ OIDS ]
certificateTemplateName= 1.3.6.1.4.1.311.20.2
[req]
default_bits=2048
emailAddress=abdurrahman.electronicclicks@gmail.com
req_extensions=v3_req
x509_extensions=v3_Ca
prompt=no
default_md=sha256
req_extensions=req_ext
distinguished_name=dn
[dn]
CN=dilmun-erp.com
C=SA
OU=Dammam Branch
O=Electronic Clicks
[v3_req]
basicConstraints = CA:FALSE
keyUsage = nonRepudiation, digitalSignature, keyEncipherment
[req_ext]
certificateTemplateName = ASN1:PRINTABLESTRING:PREZATCA-code-Signing
subjectAltName = dirName:alt_names
[alt_names]
SN=1-Model|2-3492842|3-49182743421
UID=317460736806263
title=1100
registeredAddress=Dammam
businessCategory=Software Development

Dear @sudeep_stha7675

Thanks for reaching out, and welcome to our community.

You concern is not clear; can I kindly ask you to elaborate more and answer the below questions to ensure a comprehensive support as usual:
1- What is the environment that you create the CSR for?
2- what is the API that return Invalid Request?

Thanks,
Ibrahem Daoud.

@sudeep_stha7675
what is openssl command that you use to generate csr ?

Try to compare with valid sample:

oid_section = OIDs
[ OIDs ]
certificateTemplateName= 1.3.6.1.4.1.1311.20.2

[ req ]
default_bits = 2048
emailAddress = hada66dupport@hotmail.com
req_extensions = v3_req
x509_extensions = v3_ca
prompt = no
default_md = sha256
req_extensions = req_ext
distinguished_name = dn

[ dn ]
C=SA
OU=RiyadhBranch
O=Jarir
CN=RIYADH …OR short address

[ v3_req ]
basicConstraints = CA:FALSE
keyUsage = digitalSignature, nonRepudiation, keyEncipherment

[req_ext]
certificateTemplateName = ASN1:PRINTABLESTRING:PREZATCA-Code-Signing
subjectAltName = dirName:alt_names

[alt_names]
SN=334562332454545
UID=300000000000003
title=1100
registeredAddress=Sample Adress
businessCategory=Sample Business