Page 1 of 2

Incorrect Server Configuration

Posted: Fri Jun 05, 2015 3:17 am
by King Kroell

Using the REST Api Test Custom service and get the following error:

https://appery.io/apiexpress-api/rest...

{
"code": "MS009",
"message": "Incorrect server configuration",
"status": "INTERNAL_SERVER_ERROR"
}

What could be the problem here ps: I am a newbie going through the Rest API tutorial.


Incorrect Server Configuration

Posted: Fri Jun 05, 2015 3:52 pm
by Serhii Kulibaba

Hello,

Please provide us next information:

1) SQL query that you use;
2) Table's DDL;
3) Type of Database.


Incorrect Server Configuration

Posted: Sat Jun 06, 2015 8:05 pm
by Nisa Khalid

i got the same error
i'm using phpMyadmin
type of database : sql


Incorrect Server Configuration

Posted: Wed Jun 17, 2015 5:15 pm
by Blair Cox

Newbie here with the same issue.

I'm following this post: https://getsatisfaction.com/apperyio/... and documentaion: https://devcenter.appery.io/documenta...

My SQL statements work in phpmyadmin, but using both the sample syntax and phpmyadmin syntax results in the same.

{
"code": "MS009",
"message": "Incorrect server configuration",
"status": "INTERNAL_SERVER_ERROR"
}

I've been trying many different things.

// add sql
//select from Business_Info where contact_name = :contact_names
SELECT * FROM 'Business_Info' WHERE contact_name= :contact_names

I've played around with the generated URL as well. Only part that seems to work is when calling a specific ID.

Any suggestions?


Incorrect Server Configuration

Posted: Wed Jun 17, 2015 5:22 pm
by Blair Cox

Ok, with some fiddling I get a new error when testing.

{
"code": "MS003",
"message": "Rest Service not found",
"status": "NOT_FOUND"
}

Kind of a silly error, as the service is created. I can test it as before, able to see the JSON structure in Find and return a record using GET.


Incorrect Server Configuration

Posted: Wed Jun 17, 2015 5:24 pm
by Blair Cox

Eek, a wee buggy... The service in fact was removed when I changed tabs to Apps and back.

Hope you can get this out of beta soon, really need this. :)


Incorrect Server Configuration

Posted: Wed Jun 17, 2015 5:28 pm
by Blair Cox

When using the https://appery.io/apiexpress/sdk/

Can you please provide the syntax for the Where field? What works in the database, does nothing in this SDK.


Incorrect Server Configuration

Posted: Wed Jun 17, 2015 5:45 pm
by Blair Cox

It certainly appears the entire API Express service is down. As now I always get the 500 error at all levels of testing.

Guess we'll just have to wait till this comes out of beta and I'll need to find another method to use. Crap


Incorrect Server Configuration

Posted: Wed Jun 17, 2015 5:51 pm
by Blair Cox

baaaaah!! Can't use API express in my project anyway, wrong kind of project??


Incorrect Server Configuration

Posted: Sat Jun 20, 2015 10:32 am
by Evgene Karachevtsev

Hello Blair,

We are working on it and we'll post our update here if you don't mind:
https://getsatisfaction.com/apperyio/...