• Sir,

    When we go to tools > Site Health. Here we get this issue –
    The REST API encountered an unexpected result

    The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.
    
    The REST API call gave the following unexpected result: (503) <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Your access to this site has been limited by the site owner</title> <style> html { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 0.875rem; line-height: 1.42857143; color: #333; background-color: #fff; padding: 0; margin: 0; } body { padding: 0; margin: 0; } a { color:#00709e; } h1, h2, h3, h4, h5, h6 { font-weight: 200; line-height: 1.1; } h1, .h1 { font-size: 3rem; } h2, .h2 { font-size: 2.5rem; } h3, .h3 { font-size: 1.5rem; } h4, .h4 { font-size: 1rem; } h5, .h5 { font-size: 0.875rem; } h6, .h6 { font-size: 0.75rem; } h1, h2, h3 { margin-top: 20px; margin-bottom: 10px; } h4, h5, h6 { margin-top: 10px; margin-bottom: 10px; } .wf-btn { display: inline-block; margin-bottom: 0; font-weight: normal; text-align: center; vertical-align: middle; touch-action: manipulation; cursor: pointer; background-image: none; border: 1px solid transparent; white-space: nowrap; text-transform: uppercase; padding: .4rem 1rem; font-size: .875rem; line-height: 1.3125rem; border-radius: 4px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none } @media (min-width: 768px) { .wf-btn { padding: .5rem 1.25rem; font-size: .875rem; line-height: 1.3125rem; border-radius: 4px } } .wf-btn:focus, .wf-btn.wf-focus, .wf-btn:active:focus, .wf-btn:active.wf-focus, .wf-btn.wf-active:focus, .wf-btn.wf-active.wf-focus { outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px } .wf-btn:hover, .wf-btn:focus, .wf-btn.wf-focus { color: #00709e; text-decoration: none } .wf-btn:active, .wf-btn.wf-active { outline: 0; background-image: none; -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125) } .wf-btn.wf-disabled, .wf-btn[disabled], .wf-btn[readonly], fieldset[disabled] .wf-btn { cursor: not-allowed; -webkit-box-shadow: none; box-shadow: none } a.wf-btn { text-decoration: none } a.wf-btn.wf-disabled, fieldset[disabled] a.wf-btn { cursor: not-allowed; pointer-events: none } .wf-btn-default { color: #00709e; background-color: #fff; border-color: #00709e } .wf-btn-default:focus, .wf-btn-default.focus { color: #00709e; background-color: #e6e6e6; border-color: #00161f } .wf-btn-default:hover { color: #00709e; background-color: #e6e6e6; border-color: #004561 } .wf-btn-default:active, .wf-btn-default.active { color: #00709e; background-color: #e6e6e6; border-color: #004561 } .wf-btn-default:active:hover, .wf-btn-default:active:focus, .wf-btn-default:active.focus, .wf-btn-default.active:hover, .wf-btn-default.active:focus, .wf-btn-default.active.focus { color: #00709e; background-color: #d4d4d4; border-color: #00161f } .wf-btn-default:active, .wf-btn-default.wf-active { background-image: none } .wf-btn-default.wf-disabled, .wf-btn-default[disabled], .wf-btn-default[readonly], fieldset[disabled] .wf-btn-default { color: #777; background-color: #fff; border-color: #e2e2e2; cursor: not-allowed } .wf-btn-default.wf-disabled:hover, .wf-btn-default.wf-disabled:focus, .wf-btn-default.wf-disabled.wf-focus, .wf-btn-default[disabled]:hover, .wf-btn-default[disabled]:focus, .wf-btn-default[disabled].wf-focus, .wf-btn-default[readonly]:hover, .wf-btn-default[readonly]:focus, .wf-btn-default[readonly].wf-focus, fieldset[disabled] .wf-btn-default:hover, fieldset[disabled] .wf-btn-default:focus, fieldset[disabled] .wf-btn-default.wf-focus { background-color: #fff; border-color: #00709e } input[type="text"], input.wf-input-text { text-align: left; max-width: 200px; height: 30px; border-radius: 0; border: 0; background-color: #ffffff; box-shadow: 0px 0px 0px 1px rgba(215,215,215,0.65); padding: 0.25rem; } hr { margin-top: 1rem; margin-bottom: 1rem; border: 0; border-top: 4px solid #eee } p { font-size: 1.4rem; font-weight: 300; } p.medium, div.medium p { font-size: 1.1rem; } p.small, div.small p { font-size: 1rem; } .container { max-width: 900px; padding: 0 1rem; margin: 0 auto; } .top-accent { height: 25px; background-color: #ffde1a; } .block-data { width: 100%; border-top: 6px solid #00709e; } .block-data tr:nth-child(odd) th, .block-data tr:nth-child(odd) td { background-color: #eeeeee; } .block-data th, .block-data td { text-align: left; padding: 1rem; font-size: 1.1rem; } .block-data th.reason, .block-data td.reason { color: #930000; } .block-data th { font-weight: 300; } .block-data td { font-weight: 500; } .about { margin-top: 2rem; display: flex; flex-direction: row; align-items: stretch; } .about .badge { flex-basis: 116px; flex-grow: 0; flex-shrink: 0; display: flex; align-items: center; justify-content: flex-start; } .about svg { width: 300px; height: auto; } .about-text { background-color: #00709e; color: #ffffff; padding: 1rem; } .about-text .h4 { font-weight: 500; margin-top: 0; margin-bottom: 0.25rem; font-size: 0.875rem; } .about-text p { font-size: 0.875rem; font-weight: 200; margin-top: 0.3rem; margin-bottom: 0.3rem; } .about-text p:first-of-type { margin-top: 0; } .about-text p:last-of-type { margin-bottom: 0; } .st0{fill:#00709e;} .st1{fill:#FFFFFF;} .generated { color: #999999; margin-top: 2rem; } </style> </head> <body> <!-- WFWAF NONCE: 948ed0d2ca --><div class="top-accent"></div> <div class="container"> <h1>Your access to this site has been limited by the site owner</h1> <p>Your access to this service has been limited. (HTTP response code 503)</p> <p>If you think you have been blocked in error, contact the owner of this site for assistance.</p> <hr> <div class="medium"><p>You have been blocked by this website's security settings. If this is an error call or txt 657-222-0111.</p> </div> <hr> <p class="medium">If you are a CE4RT user with administrative privileges on this site, please enter your email address in the box below and click "Send". You will then receive an email that helps you regain access.</p> <form method="POST" id="unlock-form" action="#"> <input type="hidden" name="nonce" value="5b07927860ceaf36ee0a500622fe2eb5a271fdf663766b1edb8a3004ab8166b0"> <input type="text" size="50" name="email" id="unlock-email" value="" maxlength="255" placeholder="[email protected]">  <input type="submit" class="wf-btn wf-btn-default" id="unlock-submit" name="s" value="Send Unlock Email" disabled> </form> <script type="application/javascript"> (function() { var textfield = document.getElementById('unlock-email'); textfield.addEventListener('focus', function() { document.getElementById('unlock-form').action = "https://ce4rt.com/" + "?_wfsf=unlockEmail"; document.getElementById('unlock-submit').disabled = false; }); })(); </script> <h2 class="h3">Block Technical Data</h2> <table border="0" cellspacing="0" cellpadding="0" class="block-data"> <tr> <th class="reason">Block Reason:</th> <td class="reason">Manual block by administrator</td> </tr> <tr> <th class="time">Time:</th> <td class="time">Fri, 22 Apr 2022 8:04:20 GMT</td> </tr> </table> <div class="about"> <div class="badge"> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "https://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg version="1.0" xmlns="https://www.w3.org/2000/svg" width="245.000000pt" height="40.000000pt" viewBox="0 0 245.000000 40.000000" preserveAspectRatio="xMidYMid meet"> <g transform="translate(0.000000,40.000000) scale(0.100000,-0.100000)" fill="#000000" stroke="none"> <path fill = "#ffde1a" xmlns="https://www.w3.org/2000/svg" d="M200 370 c-78 -14 -131 -61 -151 -132 -30 -112 59 -218 183 -218 157 0 245 173 146 286 -17 19 -39 39 -48 44 -31 17 -94 26 -130 20z m-5 -47 c2 -10 4 -19 5 -20 2 -2 4 -7 5 -13 1 -5 4 -13 5 -17 1 -5 1 -16 0 -26 -1 -11 9 -21 29 -28 17 -6 31 -15 31 -19 0 -9 -28 -40 -36 -40 -11 0 -30 26 -27 36 2 5 -5 19 -14 30 -10 11 -23 29 -30 40 -6 10 -15 18 -20 17 -4 0 -14 6 -22 14 -11 12 -10 15 8 20 12 3 21 10 21 15 0 5 4 7 9 3 5 -3 13 0 16 6 9 13 15 7 20 -18z m155 -26 c14 -17 20 -28 13 -24 -6 4 -18 0 -26 -8 -9 -8 -20 -15 -25 -15 -6 0 -13 -7 -16 -16 -6 -15 -8 -15 -26 1 -11 10 -16 21 -11 24 5 3 16 23 24 43 18 43 30 42 67 -5z m-149 -155 c-6 -2 -9 -8 -5 -13 3 -5 0 -9 -5 -9 -6 0 -11 -7 -11 -15 0 -8 -4 -15 -10 -15 -5 0 -9 -6 -7 -12 1 -8 -6 -12 -18 -10 -28 5 -45 21 -45 43 0 24 79 61 99 45 9 -7 10 -11 2 -14z m106 -8 c3 -8 11 -14 18 -14 8 0 17 -4 20 -10 8 -13 -14 -52 -26 -45 -5 4 -9 2 -9 -3 0 -5 -7 -9 -15 -9 -8 0 -12 4 -9 9 3 4 0 8 -7 8 -7 0 -9 3 -6 7 4 3 2 12 -4 20 -6 7 -8 13 -5 13 4 0 2 9 -4 20 -15 28 -4 43 21 29 11 -6 23 -17 26 -25z"/> <path d="M140 322 l-22 -18 36 -36 c22 -22 43 -35 51 -31 18 6 18 0 -1 56 -17 51 -30 57 -64 29z"/> <path d="M276 288 c-37 -62 -20 -76 46 -35 l50 31 -27 23 c-14 13 -30 23 -35 23 -5 0 -20 -19 -34 -42z"/> <path d="M519 297 c-66 -44 -75 -137 -20 -199 23 -26 37 -32 82 -36 44 -3 59 0 79 16 20 16 22 23 13 33 -10 10 -18 10 -38 1 -38 -18 -61 -15 -91 11 -38 33 -38 101 0 134 30 25 56 29 87 12 15 -8 24 -7 36 2 13 12 13 15 -7 31 -32 26 -99 24 -141 -5z"/> <path d="M730 190 l0 -130 80 0 c73 0 80 2 80 20 0 18 -7 20 -55 20 l-55 0 0 35 c0 35 0 35 45 35 38 0 45 3 45 20 0 17 -7 20 -45 20 -45 0 -45 0 -45 35 l0 35 55 0 c48 0 55 2 55 20 0 18 -7 20 -80 20 l-80 0 0 -130z"/> <path fill = "#ffde1a" xmlns="https://www.w3.org/2000/svg" d="M981 243 c-79 -102 -79 -113 -1 -113 l60 0 0 -35 c0 -31 3 -35 25 -35 22 0 25 4 25 35 0 24 5 35 15 35 8 0 15 7 15 15 0 8 -7 15 -15 15 -12 0 -15 16 -15 80 0 78 -1 80 -24 80 -19 0 -39 -19 -85 -77z m59 -43 c0 -38 -2 -40 -30 -40 -16 0 -30 3 -30 6 0 7 51 74 56 74 2 0 4 -18 4 -40z"/> <path d="M1160 190 l0 -130 25 0 c24 0 25 3 25 55 0 41 4 55 14 55 8 0 30 -25 48 -55 27 -46 37 -55 61 -55 l29 0 -23 38 c-13 20 -29 46 -36 58 -11 18 -10 23 12 44 32 30 32 64 0 95 -21 22 -33 25 -90 25 l-65 0 0 -130z m118 78 c29 -29 2 -68 -47 -68 -18 0 -21 6 -21 40 0 37 2 40 28 40 15 0 33 -5 40 -12z"/> <path d="M1370 300 c0 -17 7 -20 40 -20 l40 0 0 -110 0 -110 25 0 25 0 0 110 0 110 40 0 c33 0 40 3 40 20 0 19 -7 20 -105 20 -98 0 -105 -1 -105 -20z"/> <path d="M1719 221 c-38 -39 -39 -87 -3 -130 20 -24 34 -31 62 -31 46 1 79 22 59 38 -8 7 -18 7 -27 2 -22 -14 -36 -12 -54 6 -31 30 -12 114 25 114 6 0 19 -4 29 -10 13 -7 21 -6 30 5 9 11 7 16 -9 24 -37 20 -81 13 -112 -18z"/> <path d="M1909 221 c-77 -77 17 -202 113 -150 11 6 26 26 34 46 42 98 -72 179 -147 104z m87 -9 c17 -11 26 -49 19 -82 -8 -38 -51 -53 -72 -25 -16 22 -17 69 -3 96 11 19 36 25 56 11z"/> <path d="M2100 155 c0 -94 0 -95 25 -95 23 0 24 3 27 77 3 67 6 78 22 81 27 6 36 -15 36 -90 0 -61 2 -68 20 -68 18 0 20 7 20 61 0 65 12 99 35 99 23 0 35 -34 35 -99 0 -54 2 -61 20 -61 18 0 20 7 20 78 0 64 -4 82 -18 95 -21 20 -54 22 -84 6 -14 -8 -23 -8 -31 0 -15 15 -60 14 -75 -1 -9 -9 -12 -9 -12 0 0 7 -9 12 -20 12 -19 0 -20 -7 -20 -95z"/> <path d="M211 217 c-17 -21 -3 -49 23 -45 15 2 21 10 21 28 0 28 -26 38 -44 17z"/> <path d="M157 154 c-15 -13 -37 -24 -48 -24 -26 0 -24 -12 10 -44 l29 -27 19 28 c37 52 44 70 30 81 -8 7 -20 3 -40 -14z"/> <path d="M260 155 c-7 -9 -5 -26 10 -60 l20 -47 32 21 c36 22 47 41 25 41 -8 0 -29 13 -46 29 -24 22 -33 26 -41 16z"/> <path d="M1611 97 c-9 -11 -8 -17 4 -27 19 -16 47 -5 43 17 -4 23 -31 28 -47 10z"/> </g> </svg> </div> </div> <!--<p class="documentation small">Click here to learn more: <a href="https://www.wordfence.com/help/?query=locked-out" target="_blank" rel="noopener noreferrer">Documentation</a></p> <p class="generated small"><em>Generated by Wordfence at Fri, 22 Apr 2022 8:04:20 GMT.<br>Your computer's time: <script type="application/javascript">document.write(new Date().toUTCString());</script>.</em></p>--> </div> </body> </html>

    Please suggest how we will resolve this issue?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘The REST API encountered an unexpected result’ is closed to new replies.