Page 1 of 1

API Internal Server Error

Posted: Fri Jul 24, 2020 5:30 am
by jakub.stambachr
Hi.

We have an application that's been working for about 5 years. This app uses your old version of the API: http://api.simpro.co/index.html. Without any changes to our application the EmployeeInsert endpoint started returning InternalServerError (500). I am working with this instance: https://enterprise-sandbox-nz.simprosuite.com/api/. Has there been any change to the API? I am including a sample request json body that we are sending:

Code: Select all

{ 
"id": 0, 
"method": "EmployeeInsert", 
"params": [ 
38, 
{ 
"EmployeeName": "Ronald Toquib", 
"HomeAddress": null, 
"HomeSuburb": null, 
"HomeState": null, 
"HomePostcode": null, 
"HomeCountry": null, 
"Phone1": null, 
"Mobile": null, 
"Fax": null, 
"Email": null, 
"Active": "Yes" 
}, 
false 
] 
}
Thanks,
Jakub

Re: API Internal Server Error

Posted: Mon Jul 27, 2020 8:10 am
by jakub.stambachr
Adding to this...when running the request from our program I always get 500 internal server error. If I send the same request from Postman I sometimes get 500 Internal Server Error and sometimes I get 401 Unauthorized:

Code: Select all

{
    "result": null,
    "error": {
        "faultCode": 0,
        "faultString": "Access Denied:Invalid signature"
    },
    "id": "0"
}

Re: API Internal Server Error

Posted: Tue Jul 28, 2020 12:07 am
by vaughan
Hi Jakub,

We can see there is an issue on our end. We will address the issue in an upcoming release. Your reference ticket is SIM-23463

Re: API Internal Server Error

Posted: Tue Jul 28, 2020 5:53 am
by jakub.stambachr
Hi Vaughn, thanks for your response. When is your next release planned for? And where can I track the ticket using the reference number you shared?

Thanks.
Jakub

Re: API Internal Server Error

Posted: Tue Jul 28, 2020 6:01 am
by vaughan
We do releases every fortnight, however the fix needs to first go through our standard QA process so will only be assigned a release once this has happened.

If you are after an update just post to this thread and we can check the ticket for you.