500 Slim Application error - Job Cost Centre Work Order Assets

Posts about the simPRO API. Help/support/how-to etc.
Forum rules
  • Check the documentation first. Before posting questions, please check the documentation to ensure it doesn't already cover what you need.
  • No spam. All automated messages, advertisements, and links to competitor websites will be deleted immediately.
  • Post in relevant sub-forums only. Messages posted in the wrong topic area will be removed and placed in the correct sub-forum by moderators.
  • Respect other users. No flaming or abusing fellow forum members. Users who continue to post inflammatory, abusive comments will be deleted from the forum after two warnings are issued by moderators.
  • Harassment. No threats or harassment of other users will be tolerated. Any instance of threatening or harassing behavior is grounds for deletion from the forums.
  • Adult content. No profanity or pornography is allowed. Posts containing adult material will be deleted.
  • Bandwidth. All images and signatures must be 500 x 500 pixels or smaller. Posts containing over-sized images and signatures will be removed.
  • Illegal content. No re-posting of copyrighted materials or other illegal content is allowed. Any posts containing illegal content or copyrighted materials will be deleted.
Post Reply
iconone
Posts: 50
Joined: Sun Jun 21, 2020 11:22 pm

500 Slim Application error - Job Cost Centre Work Order Assets

Post by iconone » 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.
  • 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!
SimproAPITeam
Posts: 831
Joined: Wed May 01, 2024 2:31 am

Re: 500 Slim Application error - Job Cost Centre Work Order Assets

Post by SimproAPITeam » Fri Oct 25, 2024 6:22 am

Hi iconone,
Thank you for reporting this.

Could you please submit a case to Simpro help desk. They will be able to investigate this on the relevant build and create a defect if necessary.

Please include the information you've attached here as well as your build details.

https://helpdesk.simprogroup.com/

Thank you!

Regards
Simpro API Team | Simpro Software Group
Post Reply