Service error: Object [object Array] has no method 'replace'
Hello,
I have problem with one of my REST services. I haven't tested it for quite a while so it is hard to say for me when exactly it stopped working. What I am sure is that it worked fine a while ago. What I get now at the console is the following error:
Uncaught TypeError: Object [object Array] has no method 'replace' appery.js:1703
Appery.RestService.$t.createClass.__performHeaderParametersSubstitutions appery.js:1703
Appery.RestService.$t.createClass.process appery.js:1571
Appery.DataSource.$t.createClass.execute appery.js:1483
$.die.live.click VM103045:396
jQuery.event.dispatch jquery-1.8.2.js:3063
elemData.handle.eventHandle
The service is never executed (I have an event set at service error trapping JS so I see nothing happens, it is just this error at the console).
When I test the REST service by manually entering request parameters it gives "Test was successful" response. So the service itself is ok, perhaps it is something wrong with the mapping.
These are my service settings:
These are my request parameters:
This is my mapping on the page:
My app is already shared with Appery suport, and it is called '3mamcukier'.
Please help me find out what is wrong.