Page 1 of 1

Slim application error - Posting Labor

Posted: Tue Jul 15, 2025 1:57 am
by caine
URL, Body, Header
[2025-07-15 11:47:11,355] update_recur_labour:205 INFO - https://xxx.simprosuite.com/api/v1.0/co ... 'LaborType': 878, 'Total': {'Qty': 2.2}},{'Authorization': 'Bearer xxxx', 'Content-Type': 'application/json'}

Response Received
[2025-07-15 11:47:11,675] update_recur_labour:214 WARNING - Job:8843 - Issue updating labour, Status code - 500. Message - <html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8'><title>Slim Application Error</title><style>body{margin:0;padding:30px;font:12px/1.5 Helvetica,Arial,Verdana,sans-serif;}h1{margin:0;font-size:48px;font-weight:normal;line-height:48px;}strong{display:inline-block;width:65px;}</style></head><body><h1>Slim Application Error</h1><p>A website error has occurred. Sorry for the temporary inconvenience.</p></body></html>

Re: Slim application error - Posting Labor

Posted: Thu Jul 17, 2025 2:45 am
by SimproAPITeam
Hi caine,
Thank you for reporting this.

You should not receive this kind of error, if something is not passed in correctly it should return a proper error message.

Can you please report this to our Simpro helpdesk who will try to recreate the issue and create a ticket so this can be prioritised. Please include your build details and all relevant info such as the endpoint and payload as mentioned here.

Regards

Re: Slim application error - Posting Labor

Posted: Thu Jul 17, 2025 7:05 am
by caine
Issue was the recurring job cost centre was locked, resolved.
Submitted help case for the unhelpful error message though.