Forums
Error querying Personal Access Token
last year by Patrick Wong
I am using this query from your Postman examples to retrieve the PAT schema:
{
"schema": {
"criteria": {
"searchQuery": {
"key": {
"$TREE": "/PersonalAccessToken"
}
}
},
"scope": {
"fields": {
"key": 1,
"type": 1,
"name": 1,
"queryable": [1],
"attributes": 1
}
}
},
"compatibility": {
"SchemaObject": "1.0"
}
}
I get this error:
<!DOCTYPE html>
<!-- saved from url=(0058)https://df.onecloud.azure-test.net/Error/UE_404?shown=true -->
<html lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Page not found</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="msapplication-config" content="none" />
<link rel="icon" type="image/x-icon"
href="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/favicon.ico" />
<link rel="shortcut icon" type="image/x-icon"
href="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/favicon.ico" />
<meta name="robots" content="noindex, nofollow" />
<link rel="stylesheet" property="stylesheet" type="text/css"
href="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/UxFxErrorCss_8097D4DBB3B4874308CB3816C1762BED98637360.css" />
<link rel="stylesheet" property="stylesheet" type="text/css"
href="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/UxFxStableCssWesternEuropean_6724ABFCA058F28804A76FD40AD14C9D7A6031D9.css" />
<style type="text/css"></style>
</head>
<body class="error-page-wrapper">
<div class="error-page">
<div class="error-page-content">
<h1>Page not found</h1>
<div style="padding-top: 35px">
Oops! We weren't able to find your Azure Front Door Service
configuration. If it's a new configuration that you recently created,
it might not be ready yet. You should check again in a few minutes. If
the problem persists, please contact Azure support.
</div>
<ul>
<li>
<a class="error-page-content-tryagain"
href="https://portal.azure.com/#create/Microsoft.AFDX"><span>Try again</span><img
src="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/chevron.svg"
alt=""
/></a>
</li>
<li>
<a class="error-page-content-support"
href="https://azure.microsoft.com/en-us/support/options/"><span>Contact support</span><img
src="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/chevron.svg"
alt=""
/></a>
</li>
<li>
<a class="error-page-content-support"
href="https://azure.microsoft.com/en-us/documentation/services/frontdoor/"><span>Documentation</span><img
src="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/chevron.svg"
alt=""
/></a>
</li>
</ul>
</div>
<img
class="error-page-cloud1"
src="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/cloud_drop.svg"
/>
<img
class="error-page-cloud2"
src="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/cloud_drop.svg"
/>
<img
class="error-page-cloud3"
src="https://azurefrontdoorpages.azureedge.net/pages/PageNotFound_files/cloud_drop.svg"
/>
</div>
<div class="error-body">
<div></div>
</div>
</body>
</html>
I excecuted this query directly in Postman; every Environment I previously set up (that was successful) generates this error. I also tried it with ../Read and ../SchemaRead, with the same error.
Why would this message appear instead of the regular-formatted error: data { Msg: [ {...} ] } ?
If the query itself is wrong, what is the correct one?
This query uses the Bearer Token Authorization and is set up correctly.
