Page 1 of 1

Is this a bug ? {"code":"MS000","message":"","status":"INTERNAL_SERVER_ERROR"}

Posted: Fri Jun 12, 2015 9:52 pm
by sdanigo

Here is an API created with API Express

here are 4 screens from the debugger (firefox)
2 shows the API working as expected, the 2 other show the error.

When I go to ApiExpress and try the test mode, if I put the payload to {} it return the error :{"code":"MS000","message":"","status":"INTERNAL_SERVER_ERROR"}.

If I put a value in the payload like {"idDossier":18100} it works but if I put {"idDossier":18099} it return the error
{
"code": "MS000",
"message": "",
"status": "INTERNAL_SERVER_ERROR"
}
I don't understand what is wrong (value 18099 exist in my database).

Name of taht app is detecto, in Apiexpress, name of the model is Visite and I made it accessible to apperyIo debug team.

All the other models run perfectly.

Image

Image

Image

Image


Is this a bug ? {"code":"MS000","message":"","status":"INTERNAL_SERVER_ERROR"}

Posted: Sat Jun 13, 2015 9:35 pm
by Alena Prykhodko

Hello,

Please show us your database settings. Tell us exact steps to reproduce this, so we can check with development team.
We'll let you know as soon as have updates.
It will take some time.


Is this a bug ? {"code":"MS000","message":"","status":"INTERNAL_SERVER_ERROR"}

Posted: Mon Jun 15, 2015 2:29 pm
by Illya Stepanov

Hi Sylvain -

From this information, most likely that you have some restrictions in your database.

If it is possible share with us your app (and specify its name), we will check this REST calls.


Is this a bug ? {"code":"MS000","message":"","status":"INTERNAL_SERVER_ERROR"}

Posted: Mon Jun 15, 2015 2:45 pm
by sdanigo

Hi
App shared
Name of taht app is detecto, in Apiexpress, name of the model is Visite and I made it accessible to apperyIo debug team.


Is this a bug ? {"code":"MS000","message":"","status":"INTERNAL_SERVER_ERROR"}

Posted: Mon Jun 15, 2015 3:39 pm
by sdanigo

INFO:
I removed a returned fields from my database (uncheck it in the APIExpress), and now, it works.

The one I removed is a timestamp field named dateHeure.

remove it --- all works
check it ---- don't work

Strange