Error in MySQL syntax when accessing API

what is your service configuration?