Open barnyrelph opened 2 months ago
So I think I've got this working now. The example .env has
export ENDPOINT=https://internal-dev.api.service.nhs.uk/hello-world/hello/application
which generates the error above, but if I change that to
ENDPOINT=https://sandbox.api.service.nhs.uk/hello-world/hello/application
Then the test passes. If I call the sandbox API direct with no auth, then I get a 401, so I'm assuming that things must be working. I'd still like to know that what I've done is correct though.
I'm working through the app at
application-restricted-signed-jwt-tutorials/java
in preparation for putting auth support into an app that'll integrate with the NHS.When I run the tests, it looks like it's able to get a token ok, but can't make a call to the hello-world API. The error I get is this:
{"fault":{"faultstring":"Unable to identify proxy for host: secure and url: \/hello-world\/hello\/application","detail":{"errorcode":"messaging.adaptors.http.flow.ApplicationNotFound"}}}
I've generated my JWT and registered that. I've registered my app for the following APIs:
Are there any pointers on what I may have done wrong? I can only find one other mention of this error: https://developer.community.nhs.uk/t/pds-fhir-api-internal-errors-returning-404-response-codes/553
Thanks
Barny