Page 1 of 2

500 - Internal server error

Posted: Mon Aug 24, 2020 7:24 am
by harpreet
Hello guys,

I am facing internal server error while getting jobs from simpro api. Somethimes it is working, but sometimes it is returning 500 internal server error.
Following is the api endpoint and payload I am using:

API endpoint - https://durkin.simprosuite.com/api/v1.0 ... ess&page=1
Method - GET
Payload - {}
headers - {
'content-type': 'application/json',
'accept': 'application/json',
'Authorization': 'Bearer Token'
'If-Modified-Since': 'Mon, 24 Aug 2020 06:00:00 GMT'
}
These errors start occuring on UTC time 06:00, before that it is working fine. There is no 500, internal server error before that.

Re: 500 - Internal server error

Posted: Tue Aug 25, 2020 12:40 am
by Muqeet
Hello Harpreet,

It might be a temporary network issue. The URL seems to be working fine without any errors at the moment. Do let us know if you get those errors again.

Thanks

Re: 500 - Internal server error

Posted: Tue Aug 25, 2020 1:39 am
by spolacsek
Hi Muqeet,

We are experiencing frequent 500 errors when accessing multiple endpoints.

They are interment yet very frequent. It is causing our systems to be unusable.

I have raised the issue with SimPro support and they directed me to this forum.

Please advise.

Thanks,
Sean.

Re: 500 - Internal server error

Posted: Tue Aug 25, 2020 3:25 am
by vaughan
Hi Guys,

We are currently looking into this issue. Please bare with us while we investigate.

Re: 500 - Internal server error

Posted: Tue Aug 25, 2020 3:38 am
by dmpchch
Hi this is definitely an issue. API calls that have worked twice daily for over a year now are failing. Maybe something to do with AU/NZ server issues?

Getting a response of below instead of an actual response.

"<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>

Re: 500 - Internal server error

Posted: Tue Aug 25, 2020 5:05 am
by vaughan
This issue should now be resolved.

Please let us know if you have any further issues. We apologise for any inconvenience caused.

Re: 500 - Internal server error

Posted: Tue Aug 25, 2020 7:31 pm
by dmpchch
:D Great thanks. Nice way to start the day. All go here.

Re: 500 - Internal server error

Posted: Thu Aug 27, 2020 5:48 am
by spolacsek
Hi there,

We are experiencing these 500 errors again this afternoon.

Can you please investigate?

Re: 500 - Internal server error

Posted: Thu Aug 27, 2020 6:30 am
by rick.lan
Hi spolacsek,

Thanks for the quick update, its been fixed.

cheers,

Re: 500 - Internal server error

Posted: Thu Aug 27, 2020 10:29 pm
by Tiago Valente
Hi All

I've been experiencing these issues intermittently since Friday last week.

It was resolved for one day on Wednesday, but like spolascek says above it was down again on Thursday.

Sorry Rick after you said it was resolved, we still experienced errors on our side.

This is becoming very tiresome and frustrating. Why is the API so unstable at the moment?

Process Status Employee Company ID Company Name Time
TimeSheets <class 'json.decoder.JSONDecodeError'> 117 11 Admin 27/08/2020 16:14

Process Status Page Total Page Company Time
Assets <class 'json.decoder.JSONDecodeError'> 1 203 VIC 27/08/2020 16:07