500 Internal Server Error when accessing /api/v1.0/companies/{companyID}/sites/{siteID}/assets/{assetID}/testHistory/

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
donnacha
Posts: 4
Joined: Mon Jan 22, 2024 4:23 pm

500 Internal Server Error when accessing /api/v1.0/companies/{companyID}/sites/{siteID}/assets/{assetID}/testHistory/

Post by donnacha » Mon Jan 22, 2024 4:28 pm

Hi,

First post here, please be gentle :)
This morning the /api/v1.0/companies/{companyID}/sites/{siteID}/assets/{assetID}/testHistory/ route is throwing a 500 error. When testing in postman i am getting the following response:

<h1>Slim Application Error</h1>
<p>A website error has occurred. Sorry for the temporary inconvenience.</p>

All other routes seem to be working fine.

Is this a known issue?

Donnacha
PremMarkeli
Posts: 148
Joined: Tue Oct 26, 2021 3:11 am

Re: 500 Internal Server Error when accessing /api/v1.0/companies/{companyID}/sites/{siteID}/assets/{assetID}/testHistor

Post by PremMarkeli » Tue Jan 23, 2024 12:47 am

Hi Donnacha,

I was unable to replicate the issue, can you please share the build details and end point used in a private message so we can further investigate what might be causing issue.

Regards.
Prem
API Developer | Simpro Software Group
craigm
Posts: 12
Joined: Thu Nov 18, 2021 9:43 am
Location: UK
Contact:

Re: 500 Internal Server Error when accessing /api/v1.0/companies/{companyID}/sites/{siteID}/assets/{assetID}/testHistor

Post by craigm » Tue Jan 23, 2024 2:10 pm

We are also seeing this exact same error across 29 different Simpro builds so this is not an isolated case.
Sindre
Posts: 493
Joined: Wed Apr 20, 2022 4:51 am
Location: Brisbane

Re: 500 Internal Server Error when accessing /api/v1.0/companies/{companyID}/sites/{siteID}/assets/{assetID}/testHistor

Post by Sindre » Tue Jan 23, 2024 10:23 pm

Hi,
We have identified the problem with the asset test history and a fix is underway.

Regards
Sindre
API Developer | Simpro Software Group
donnacha
Posts: 4
Joined: Mon Jan 22, 2024 4:23 pm

Re: 500 Internal Server Error when accessing /api/v1.0/companies/{companyID}/sites/{siteID}/assets/{assetID}/testHistor

Post by donnacha » Wed Jan 24, 2024 8:37 am

Issue seems to be resolved now. Thanks!
donnacha
Posts: 4
Joined: Mon Jan 22, 2024 4:23 pm

Re: 500 Internal Server Error when accessing /api/v1.0/companies/{companyID}/sites/{siteID}/assets/{assetID}/testHistor

Post by donnacha » Wed Jan 24, 2024 10:52 am

The issue seems to have returned. The route is working intermittently, maybe 25% of requests work but the rest result in the slim application error.
taskerdev
Posts: 6
Joined: Wed Jan 24, 2024 12:10 pm

Re: 500 Internal Server Error when accessing /api/v1.0/companies/{companyID}/sites/{siteID}/assets/{assetID}/testHistor

Post by taskerdev » Wed Jan 24, 2024 12:14 pm

We are also encountering this issue on all our testing and customer builds. It appeared to be somewhat working this morning (though it was mixed in with Slim errors), but as of roughly half an hour ago, it has stopped working all together.
PremMarkeli
Posts: 148
Joined: Tue Oct 26, 2021 3:11 am

Re: 500 Internal Server Error when accessing /api/v1.0/companies/{companyID}/sites/{siteID}/assets/{assetID}/testHistor

Post by PremMarkeli » Wed Jan 24, 2024 11:24 pm

Hi,

We are looking into the issue and will be resolved soon. Will update the post when its resolved.

Regards
Prem
API Developer | Simpro Software Group
Sindre
Posts: 493
Joined: Wed Apr 20, 2022 4:51 am
Location: Brisbane

Re: 500 Internal Server Error when accessing /api/v1.0/companies/{companyID}/sites/{siteID}/assets/{assetID}/testHistor

Post by Sindre » Thu Jan 25, 2024 12:11 am

Hi all,
The fix for the slim application error on

Code: Select all

/api/v1.0/companies/{companyID}/sites/{siteID}/assets/{assetID}/testHistory/
has now been updated and released and it should be working as expected again.

Regards
Sindre
API Developer | Simpro Software Group
Post Reply