Data Link Query Error
I am trying to use a data link but it is throwing a 500 error. It apears to have something to do with authentication but I have tried this in a site that allows anonymous access. The data connection works correctly and the user configured in the data connection has access to the table. Below is the full error message:
{
"error":{
"code":500,
"message":"Exception has been thrown by the target of an invocation.\nObject reference not set to an instance of an object.",
"details":[
"Exception has been thrown by the target of an invocation.",
"Object reference not set to an instance of an object."
],
"principal":{
"isAuthenticated":false,
"label":"Guest",
"expiry":null,
"identities":[
{
"authenticationType":"",
"isAuthenticated":false,
"nameClaimType":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
"roleClaimType":"http://schemas.microsoft.com/ws/2008/06/identity/claims/role",
"label":null,
"claims":[
{
"type":"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name",
"value":"Guest",
"valueType":"http://www.w3.org/2001/XMLSchema#string",
"issuer":"urn:gcx:guest",
"originalIssuer":"urn:gcx:guest",
"properties":{
}
},
{
"type":"http://www.geocortex.net/security/claims/category/guest",
"value":"",
"valueType":"http://www.w3.org/2001/XMLSchema#string",
"issuer":"urn:gcx:guest",
"originalIssuer":"urn:gcx:guest",
"properties":{
}
},
{
"type":"http://www.geocortex.net/security/claims/category/known",
"value":"",
"valueType":"http://www.w3.org/2001/XMLSchema#string",
"issuer":"urn:gcx:global",
"originalIssuer":"urn:gcx:global",
"properties":{
}
},
{
"type":"http://www.geocortex.net/security/claims/category/any",
"value":"",
"valueType":"http://www.w3.org/2001/XMLSchema#string",
"issuer":"urn:gcx:global",
"originalIssuer":"urn:gcx:global",
"properties":{
}
},
{
"type":"http://www.geocortex.net/security/claims/audience",
"value":"",
"valueType":"http://www.w3.org/2001/XMLSchema#string",
"issuer":"urn:gcx:global",
"originalIssuer":"urn:gcx:global",
"properties":{
}
},
{
"type":"http://www.geocortex.net/security/claims/policy",
"value":"",
"valueType":"http://www.w3.org/2001/XMLSchema#string",
"issuer":"urn:gcx:global",
"originalIssuer":"urn:gcx:global",
"properties":{
}
},
{
"type":"http://www.geocortex.net/security/claims/category",
"value":"secure-conversation",
"valueType":"http://www.w3.org/2001/XMLSchema#string",
"issuer":"urn:gcx:global",
"originalIssuer":"urn:gcx:global",
"properties":{
}
}
]
}
],
"policy":{
"authenticate":false,
"hints":null,
"issuers":[
{
"displayName":"Windows User",
"displayType":"Windows Integrated",
"type":"windows",
"hint":null,
"urls":{
"signIn":"https://[DomainName]/Geocortex/Essentials/REST/security/signIn?idp_name=AD AUTHORITY"
}
},
{
"displayName":"Other Login",
"displayType":"Identity Server",
"type":"wsfed-ids",
"hint":null,
"urls":{
"signIn":"https://[DomainName]/Geocortex/Essentials/REST/security/signIn?idp_name=urn:gcx:idp:F2730B63-65A3-4E98-9BDB-B996B33A0CDC"
}
}
]
},
"urls":{
"expirationNotice":"https://[DomainName]/Geocortex/Essentials/REST/security/expirationNotice",
"referrer":"https://[DomainName]/Html5Viewer/Index.html?configBase=https://[DomainName]/Geocortex/Essentials/REST/sites/Dummy/viewers/Standard/virtualdirectory/Resources/Config/Default",
"refresh":null,
"signIn":"https://[DomainName]/Geocortex/Essentials/REST/security/signIn",
"signOut":"https://[DomainName]/Geocortex/Essentials/REST/security/signOut"
},
"tokens":{
"arcgis":{
},
"geocortex":{
},
"site":null
}
}
}
}
0
-
Good Morning,
Did you ever figure out why this issue was occurring?
Was there a fix?0
Please sign in to leave a comment.
Comments
1 comment