I am developing an app and have connected the Directory of Services Search API (Sandbox) via onboarding.prod.api.platform.nhs.uk.
When calling both /dos-search/search/byOdsCode/ and /dos-service-search/search on sandbox.api.service.nhs.uk, I receive:
{ "errorcode": "messaging.adaptors.http.flow.ApplicationNotFound" }
The API documentation link within my portal subscription is also not resolving. Could you please confirm the correct sandbox base URL and endpoint path for the Directory of Services Search API on sandbox.api.service.nhs.uk?
Hi Gajender,
Welcome to the NHSE API Developer Community!
The error typically indicates that your application is not correctly associated with the API Product/Environment you are calling - most probably due to API Key not recognised for that API, or the app is not exposed via the sandbox base URL you are using.
The Directory of Healthcare Service API has multiple APIs in Production: Directory of Healthcare Services (Service Search) API - NHS England Digital
For V3, Environments and testing:
| Environment |
Base URL (GET) |
Base URL (POST) |
| Sandbox |
https://sandbox.api.service.nhs.uk/service-search-api/ |
https://sandbox.api.service.nhs.uk/service-search-api/search |
Ensure you are working from:
- Directory of Healthcare Services v3 (Service Search)
- not legacy v2 endpoints
Hope the above helps.
If you continue to face issues with using Sandbox environment, please raise a ticket via service now to the Directory of Healthcare Services (Service Search) API team.
Thanks,
NHS England API Platform team
Please note: The API Platform team can only address queries relevant to the NHS England API platform, including security, rate limiting, logging, monitoring and alerting. For any API, CIS2, NHS Login specific queries, please reach out the relevant API / Service teams.