We are trying to create a test company in the test data sandbox environment but keep getting a time out. We are posting to https://test-data-sandbox.company-information.service.gov.uk/test-data/company. We have tried on both test and live applications and both have timed out, and have tried with an empty body and a body full of data with the same result. Can you help?
Yes, you can only currently develop a small number of filing options in this Rest Json platform at present, although the long term intention is to enable many more form types. For the foreseeable future the xml gateway is our only software option for forming companies.
@snicholas looking at the documentation above it seems that the XML Gateway relates to creating real businesses. In our context we specifically want to create test data that can be used to test our companies house integration pre-production. As such the sandbox on the surface seemed to fit that bill as we could create test data and then subsequently retrieve it in a sandboxed environment. Is there any guidance about whether the XML Gateway can be used to recreate the equivalent functionality?
@alastairs The test-data-generator you’ve linked had been broken on 24th November by a change which made it unreachable to the public. It should be working now if you give the api call another try
Hi @bcullerton I can see that I’m now able to create a test company - thanks! There are still some issues with “links” related to the company.
The /company/<company_number>/persons-with-significant-control-statement endpoint results in a 500 status code with a message of No static resource company/<company_number>/persons-with-significant-control-statement. The request_id returned was ptReFs-vf5YUa3wvorcbm6SYXVyE if that’s useful.
/company/<company_number>/officers endpoint is returning a 503 status code and display of 503 Service Temporarily Unavailable
Are these endpoints intended to be supported in the sandbox?
I’m trying to test whether I can create a company with PSCs and then retrieve them. I’ve tried to use the number_of_pscs property that the create end point documents.
The statements api doesn’t have a sandbox deployment at the moment. PSCs do have a deployment so you should be able to call the /company/{num}/persons-with-significant-control endpoint if not statements.
Officers should be working and isn’t due to an error our side, I’ll pick it up today
I can confirm both of those end points now respond! Thank you so much for the prompt fixing and response to this @bcullerton.
I’ll need to have a play with Sandbox Test Data Generator API: createTestCompanyRequestBody to see how to best configure the PSCs. So far it seems only using number_of_pscs doesn’t behave as I was expecting but that could be a misunderstanding on my part. I can get a PSC to appear if I set has_super_secure_pscs.
Am I right in saying the sandbox doesn’t currently support configuring disqualified officers?
Thanks again for taking the time to look at this thread and getting the sandbox working again. These fixes mean we can look to integrate with the sandbox in a way that I had initially thought wasn’t going to be feasible.
I am encountering a persistent 400 Bad Request (ch:validation) error when attempting to create a test company via the /test-data/company endpoint despite using a minimal payload (LTD, England-Wales, single director) and verifying authentication headers, the request is rejected.
Could you please confirm if the Test Data Generator is currently operational or if there is a known service degradation following the recent updates?