I'm migrating tests to xray through XRay API. I do post request to url:
https://xray.cloud.getxray.app/api/v2/import/test/bulk
and body is json with test info. (As described in docs: xray_api_docs ).
I have response with job id (e.g. "jobId":"34a4106b1d0948d1aae1170cc8df3bb4").
Then I use <span> </span><span>GET request to <em><a href="https://xray.cloud.getxray.app/api/v2/import/test/bulk/%7BjobId%7D/status" target="_blank" rel="nofollow noopener noreferrer">https://xray.cloud.getxray.app/api/v2/import/test/bulk/{jobId}/status</a></em></span>
and get response "status": "working". Then, after about 40 minutes I get next response:

I have to migrate lots of tests. I do my post requests about one in 2 minutes, each request contains from 5 to 10 tests with steps. (So it does'n look like overload problem). And most of responses have job status successful. It can be like 15 successful requests, and then fail by timeout.
What is actually a problem? What can I do from my side to avoid this?