AnsweredAssumed Answered

PI Web API failure for AF based tags

Question asked by JamesIggulden on May 22, 2018
Latest reply on May 22, 2018 by vkaufmann

Hello,

 

We have a customer using the PI Web API to retrieve actual tag values using queries of the form:

https://<server_name>:<port>/piwebapi/streamsets/value?webId=<web_id>

 

For most of the tags the results come back as expected. However, for a subset we get the following example:

 

{

  "Links": {},

  "Items": [

    {

      "WebId": "A0ErAc0bFuIIkSe-0tWIZhorANiiQe74g5RGhKgBQVroKrgWPw6byeKDE-_nyeZV2fbFQQUJaUElBRjAxVFxFWEVDVVRJVkVcTk9SVEhFUk4gUFJPRFVDRVJcUFJPRFVDVElPTlxQUk9EVUNUSU9OIEJZIEZJRUxEfFBST0RVQ1RJT04gWVRIQU4",

      "Name": "<name>",

      "Links": {

        "Source": "https://<server_name>:<port>/piwebapi/attributes/A0ErAc0bFuIIkSe-0tWIZhorANiiQe74g5RGhKgBQVroKrgWPw6byeKDE-_nyeZV2fbFQQUJaUElBRjAxVFxFWEVDVVRJVkVcTk9SVEhFUk4gUFJPRFVDRVJcUFJPRFVDVElPTlxQUk9EVUNUSU9OIEJZIEZJRUxEfFBST0RVQ1RJT04gWVRIQU4"

      },

      "Value": {

        "Timestamp": "2018-05-21T13:38:51.6107453Z",

        "Value": {

          "Errors": [

            "Unexpected Server Error: 'Login failed for user 'EPDS'.'. \r\nUse Event Viewer to the the PI AF Server log file for more information."

          ]

        },

        "UnitsAbbreviation": "",

        "Good": false,

        "Questionable": false,

        "Substituted": false

      }

    }

  ]

}

 

The message is quite clear but the customer says they cannot see any failed login reports in the "server event logs".

Has anyone had a similar experience? What else should we be checking?

 

Thanks,

James

Outcomes