Assistance Required: "Client Not Found" Error in NHS CIS2 Authentication

Dear NHS Service Desk Team,

I hope you are doing well.

I am trying to consume user-restricted APIs using User-restricted NHS CIS2 separate authentication and authorization - PHP pattern, but I am encountering the following error:

“Client not found.”

Steps I Took:

  1. I created an account on the NHS Developer Portal.
  2. I created an application within the portal.
  3. The portal provided a Client ID and Client Secret for my application.
  4. I am using these credentials in my authentication request, but I still receive the “Client not found” error.

Could you please check if there is an issue with my application’s configuration or guide me on resolving this error?

I have attached a screenshot of the error for your reference.

Looking forward to your support.

Best regards,
Asad Rehman

Hi, this is the API-M CIS2 mock service(s). We are aware that there are issues with the sandbox environment and recommend using INT or another environment. Also, the sample PHP code is broken from memory unfortunately.