cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

IoTGateway's REST Server: writeResult: "Request rejected."

MS_9937986
1-Newbie

IoTGateway's REST Server: writeResult: "Request rejected."

from the subject, running 6.12 ThingWorks KEPWare Server with IoTGateway REST Server configured as write enabled (for endpoints).

 

When attempting to write a value to a tag through REST call, the following is returned:

 

 

 

{
    "writeResults": [
        {
            "id": "<tag_name>",
            "s": false,
            "r": "Request rejected."
        }
    ]
}

 

 

 

 
It has been observed that the issue clear away once I run an OPCQuick Client and attempt to browse tags. All the tags are hosted locally (trying to write to a simulation driver tag).
 
Issue reoccurs when re-initializing/restarting the server.
 
Any ideas?
 
===Update 1===
The initial configuration was that the tag (IoT Item) "Capture Options" is configured to be "Explicit Read" rather than "Scan Tag". When using the latter, the issue doesn't occur.
 
The requirement though is to be "Explicit Read"
 
MS_9937986_1-1662466874820.png

 


 

1 REPLY 1
geva
14-Alexandrite
(To:MS_9937986)

HI @MS_9937986 -  You've not supplied a whole lot of information on what you're trying to do in order to guide you (as in your server application with REST endpoint, auth mechanism, etc.).  I'd suggest that you look at the server side access log as this should give you an indication of why the request was refused.

Top Tags