Getting HTML500 Calling https://api.rcpch.ac.uk/growth/v1/uk-who/plottable-child-data API

I’m trying to call the https://api.rcpch.ac.uk/growth/v1/uk-who/plottable-child-data API.
But I’m only getting a HTML 500 Server error returned.

I’ve tried calling the api in the https://dev.rcpch.ac.uk/api-details website and externally in code and get the same response.

The other api work fine.
Is there something wrong with the method/or am I doing something wrong?

plottable-child-data error

Hi @stephensrft and thanks for the question.

This is our fault and I apologise profusely. The API docs are actually wrong - there’s a small issue with the autogeneration of the openAPI3 spec which we are working actively on - but this means that the current API spec doesn’t reflect the API server’s current setup.

The fix is simple though - please use

https://api.rcpch.ac.uk/growth/v1/uk-who/chart-coordinates

Only the last part is different. The POST body stays the same.

(The returned data can be cached as it doesn’t change - there are 4 measurement_methods and 2 sexes so only 8 possible returned data sets.)

You can use our Postman Collection for API reference - this is more up to date and is correct.

I’m guessing you are from Salford Royal Foundation Trust? Welcome to the Digital Growth Charts!

If you have any other issues do let us know - happy to do a call too to get your feedback.
Feel free to open issues on the relevant repository on

Hi,
Still having no luck I’ve tried using the Postman collection to call https://api.rcpch.ac.uk/growth/v1/uk-who/chart-coordinates.

But still getting html 404 error.

See attached screenshot
chart-coordinates 404 error

Regards

Stephen Plant

Hi @stephensrft

Really sorry about this - this is a misconfiguration of our API management layer related to some changes to the openAPI3 spec. It’s not you, it’s us. We are on the case and aim to fix it in the next week. Is that going to cause unacceptable delay for you? I might be able to sort out another option for the interim if so.

Marcus

@stephensrft apologies for the problem you have been experiencing. This should now be fixed with the latest server patch. I’ve tested using Postman and using the Dev portal and all seems to be working but let us know if you continue to experience issues