Getting error while generating OTP on mobile linked with abha address

@IntegrationSupport,
I am trying to generate the OTP on mobile linked with abha address and then after verifying the OTP I get the auth token.
But this API is giving me the error every time I hit it

This is the curl

POST /cm/v1/apps/phrAddress/auth-init HTTP/1.1

accept: /

Content-Type: application/json

Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2OTk0NjM2NDQsImlhdCI6MTY5OTQ0MjA0NCwianRpIjoiYWQ4MDAzNzYtNDQyYS00ZTdmLWJmYjEtOTI4NmUyODA4ODY0IiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiJhOWFlYjY4Ny01NTEzLTQyMzUtYTYzOC1kYjcyY2FiNzkzNDgiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAzMDQxIiwic2Vzc2lvbl9zdGF0ZSI6IjM4ZmQ0ZDUxLTI4N2YtNDNkMS05NmIzLTFkMWQzNjU0NTZiZCIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJoaXUiLCJvZmZsaW5lX2FjY2VzcyIsImhlYWx0aElkIiwicGhyIiwiT0lEQyIsImhpcCJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDMwNDEiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY3LjIzMiIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwiY2xpZW50SWQiOiJTQlhfMDAzMDQxIiwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDMwNDEiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY3LjIzMiJ9.h3Z2N-FOvrsjdnSO8eypmHQq_kichGa-G7kgb35mdkEH8jszqIqrDxvOittJBpdK73U3vCDa4luQu1HP-sDsBHiLUUbfWeDSUHxV7QdrsCmK7pR18YJDwI8OrKIvxCtpflJmT-ZaBnethct_yP6rDJocCxLgpJ6o22Iewst0OdbqijPUd4DI3Kh2-4-84F1-nVSUdGGINdcjKgG9CxuSRHNBYnNsBststEA1nUcWkMufhim_blvnaWMf5IoQ6pp0m4h7xYHwp28aEBN_w4G5Ij-Zbl8plII15EOUjBEBY01ju4G5npA4jKgteTsPNAxQbX2ZneYCCXkhgg8JYOIwkA

User-Agent: PostmanRuntime/7.32.3

Cache-Control: no-cache

Postman-Token: 3796126a-2b89-4bbe-85ab-0468f59d90a2

Host: dev.abdm.gov.in

Accept-Encoding: gzip, deflate, br

Connection: keep-alive

Content-Length: 171

{

“patientId”: “amlarawat20121977@sbx”,

“purpose”: “CM_ACCESS”,

“authMode”: “MOBILE_OTP”,

“requester”: {

“id”: “arogyaId-facilityPHR”,

“type”: “PHR”

}

}

HTTP/1.1 500 Internal Server Error

correlation-id: 1415df3c-9235-4044-bc9e-00e892b08241

content-type: application/json

content-length: 95

cache-control: no-cache, no-store, max-age=0, must-revalidate

pragma: no-cache

expires: 0

x-content-type-options: nosniff

strict-transport-security: max-age=31536000 ; includeSubDomains

x-frame-options: DENY

x-xss-protection: 1 ; mode=block

referrer-policy: no-referrer

x-envoy-upstream-service-time: 274

date: Wed, 08 Nov 2023 11:15:28 GMT

{“error”:{“code”:1511,“message”:“Cannot process the request at the moment, please try later.”}}

You are sending wrong purpose
Purpose could be one of following
KYC
LINK
KYC_AND_LINK

this we use in HIP initiated linking
Here we are using HIE_CM api to send OTP on abha address linked number and then generate the auth token

I would suggest to use v0.5 APIs… I have tried this and working with no issues.