My custom server script is working fine when I test it on the test tab on the server. It returns exactly what I expected and wanted, but when I try and test the same service with exact same parameters and exact same values for those parameters, this error is thrown by my custom server script, "message: Database name must be defined.ncode: DBSQ10."
When I searched for that code, there was absolutely no information on google or on this forum. It's pretty obvious that it is saying my database name is not defined, which would mean that the parameter name that I was sending as a request did not match the parameter name that I was request.get() "ing" in my custom server script, but they do. And I've spent hours on this trying to alter different things to make it work. When I type in the wrong parameter purposefully on the server test tab, I ALSO get the same error, but the parameters are not incorrect, so it's not making much sense. I also changed the database name of the parameter multiple times to make sure that they were matching, but to no avail. Is there something I'm missing here?
I added pictures of both test pages as well as the code of my custom server script.