Web Service Interface Error Codes
Check out this article and learn more details about the i4scada Web Service Interface error codes.
InetPro webservice
Up to now the following general web service related return codes are defined:
Error Code | Details |
---|---|
-1 | Invalid Channel Id |
-2 | Communication Error |
-3 | DCOM Error |
-4 | Error Creating new Channel |
-5 | Error Accessing the Data Base |
-6, -7 | License Error |
-8 | Invalid Client Name or IP Address |
-9 | Invalid Channel ID |
-10 | Invalid session password |
-99 | Unspecified Error |
Besides this general web service error codes, the following related error codes can be returned by specific web methods:
Error Code | Details |
---|---|
-4095 | User login failed (Login) This can be caused by an invalid username or password. The usual workaround is to check the user configuration and verify that the login exists and the password is correct. |
-4094 | No user logged in (Write) This error occurs when a user tries to write a secured signal without being logged in. Signals can be configured to be secure so you need to have a login that is allowed to write those specific signals. The workaround here would be to login before writing the signal, or if it is the case, remove the write protection for the signal. |
-4093 | Insufficient user authorizations (Write) This is similar to error -4094. This happens if the user is logged in but doesn’t have enough permissions to write the signal. This is normal if the user shouldn’t be able to do this operation. If he should, then the permissions should be updated so that he can write it, or the signal write protection should be removed. |
-4092 | User already logged on (Login) |
-4091 | Invalid user password (Login) |
-4090 | Max user count reached (Login) |
-4089 | Unspecified server error (Login, Write) |
-4088 | Signal is write protected (Write) |
-4087 | Expired password (Login) |
-4086 | Invalid command syntax (Login) |
-4082 | The number of failed logins exceeded. Username blocked. (Login) |
-404 | Cannot obtain current logged in user name (Login) |
1 | Signal is not registered in Server or Server is not running (Login, Write) |
The WriteSignal method can also return some OPC related error codes. Please refer here to the documentation of the OPC servers.