Not exists errors on devive WIFI parameters

Hello, I hope some of you could give me some advice what I’m doing wrong here.

I have been trying to update one of my devices WIFI settings remotely (pain in the ass get the blinkup there).

But when try to set parameters I got stuck on “not exists” on server function calls.

Here are some details:

2018-04-02 11:49:15 +03:00 [Agent] device firmware version: af29c63 - jenkins-ei-release-7592 - Wed Mar 28 08:35:39 2018 - Electric Imp
2018-04-02 11:49:15 +03:00 [Agent] ERROR: the index ‘setsendtimeoutpolicy’ does not exist
2018-04-02 11:49:15 +03:00 [Agent] ERROR: in main agent_code:977
2018-04-02 11:49:25 +03:00 [Status] Agent restarted: after delay.

And the said row which produces this error is:

server.setsendtimeoutpolicy (RETURN_ON_ERROR, WAIT_TIL_SENT,10);

(other calls like server.disconnect, server.flush, imp. setwificonfiguration etc will produce same error)

Info about the device:
Device ID 236fc1b030728cee
MAC address 0c:2a:69:00:37:45
Name ReefAprilDevBoard
Device Status Online
Free Memory 81224 bytes
imp Type imp001
impOS Version 99db320 - release-36.14 - Tue Jan 16 08:52:05 2018 - production

You’re attempting to use those calls from the agent. They’re only available in the device.

Thanks a lot for pinpointing this since error message was not clear to me :).