500 Slim Application error - Job Cost Centre Work Order Assets
Posted: Thu Oct 24, 2024 8:28 pm
Hi,
I'm currently importing a job from another system that has approx. 2100 assets and test readings.
Because of the number of assets and the relatively small number of Work Orders (10), I'm using PATCH multiple.
PATCH /api/v1.0/companies/${companyID}/jobs/${jobID}/sections/${sectionID}/costCenters/${costCenterID}/workOrders/${workOrderID}/assets/multiple/
However when I call the above route, I get a 500 slim application error.
When I try updating individual assets, I get a 404 error.
e.g. PATCH /api/v1.0/companies/${companyID}/jobs/${jobID}/sections/${sectionID}/costCenters/${costCenterID}/workOrders/${workOrderID}/assets/${assetID}
If this helps, this is the order of API calls.
Let me know if you need me to DM further details such as build URL.
Thanks!
I'm currently importing a job from another system that has approx. 2100 assets and test readings.
Because of the number of assets and the relatively small number of Work Orders (10), I'm using PATCH multiple.
PATCH /api/v1.0/companies/${companyID}/jobs/${jobID}/sections/${sectionID}/costCenters/${costCenterID}/workOrders/${workOrderID}/assets/multiple/
However when I call the above route, I get a 500 slim application error.
When I try updating individual assets, I get a 404 error.
e.g. PATCH /api/v1.0/companies/${companyID}/jobs/${jobID}/sections/${sectionID}/costCenters/${costCenterID}/workOrders/${workOrderID}/assets/${assetID}
If this helps, this is the order of API calls.
- Site
Job
Cost Centre
Schedules
Work Orders
Site Customer Assets
Job Cost Centre Work Order Assets (point of failure)
Let me know if you need me to DM further details such as build URL.
Thanks!