<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Stephen,</p>
    <p>I worked for me. I added the WMS entry using the browser panel
      with your own data. Then I connected and the capabilities were
      retrieved. I added the layer and it works.</p>
    <p>Did you try the URL on the browser? This should be enough to
      retrieve the capabilities using a browser:
<a class="moz-txt-link-freetext" href="https://api.mapbox.com/styles/v1/profsacks/ckl8hw2rm53v918o7e09ig6mq/wmts?access_token=pk.eyJ1IjoicHJvZnNhY2tzIiwiYSI6ImNrbDhnaHFlZTBhb2Yyb25sMThvMTNsd2kifQ.E7N3o-toUEV01DBOt1-FPw&SERVICE=WMS&REQUEST=GetCapabilities">https://api.mapbox.com/styles/v1/profsacks/ckl8hw2rm53v918o7e09ig6mq/wmts?access_token=pk.eyJ1IjoicHJvZnNhY2tzIiwiYSI6ImNrbDhnaHFlZTBhb2Yyb25sMThvMTNsd2kifQ.E7N3o-toUEV01DBOt1-FPw&SERVICE=WMS&REQUEST=GetCapabilities</a><br>
    </p>
    <p>I'm using last QGIS version, but this should work on almost every
      QGIS version.</p>
    <p>You can see more details about the requests sent to the server by
      enabling the panel "Debuggin/Development Tools". The click on the
      record button.</p>
    <p>Can you try once more? Can you tell us your QGIS version and OS
      version?</p>
    <p>Good luck,</p>
    <p>Jorge</p>
    <div class="moz-cite-prefix">Às 22:38 de 18/02/21, Stephen Sacks
      escreveu:<br>
    </div>
    <blockquote type="cite"
      cite="mid:e144bbe0-e825-79f2-9414-175085de8b0f@gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <font size="+1">For the first time, I'm trying to use a map from
        Mapbox as a base map in QGIS.  I opened an account at Mapbox.com
        and made a map there using their "Satellite streets."    I
        clicked Publish and chose Publicly available.  I copied that
        map's Style URL and Access token and plugged them and my Mapbox
        username into what I believe is the correct endpoint template. 
        Then back at my desktop QGIS, I clicked  Layer > Add Layer
        >Add WMS/WMTS layer > new .  Then I entered a name and
        plugged in my custom endpoint URL.  Then I clicked OK and saw at
        the bottom "93546 of 93546 bytes of capabilities downloaded." 
        Then I clicked Connect and got the following message:  "Failed
        to download capabilities".<br>
          I'd be grateful if someone will tell me what I'm doing
        wrong.    Thanks, Steve<br>
        <br>
        Here are the specifics.<br>
        1. Source of instructions:<br>
                <a class="moz-txt-link-freetext"
          href="https://docs.mapbox.com/help/tutorials/mapbox-arcgis-qgis/"
          moz-do-not-send="true">https://docs.mapbox.com/help/tutorials/mapbox-arcgis-qgis/</a><br>
        2. endpoint template from tutorial:<br>
              
        <a class="moz-txt-link-freetext"
href="https://api.mapbox.com/styles/v1/YOUR_USERNAME/YOUR_STYLE_ID/wmts?access_token=pk.eyJ1IjoicHJvZnNhY2tzIiwiYSI6ImNrbDhnaHFlZTBhb2Yyb25sMThvMTNsd2kifQ.E7N3o-toUEV01DBOt1-FPw"
          moz-do-not-send="true">https://api.mapbox.com/styles/v1/YOUR_USERNAME/YOUR_STYLE_ID/wmts?access_token=pk.eyJ1IjoicHJvZnNhY2tzIiwiYSI6ImNrbDhnaHFlZTBhb2Yyb25sMThvMTNsd2kifQ.E7N3o-toUEV01DBOt1-FPw</a><br>
        <br>
        3. endpoint URL with my personal specifics plugged in:<br>
          
        <a class="moz-txt-link-freetext"
href="https://api.mapbox.com/styles/v1/profSacks/ckl8hw2rm53v918o7e09ig6mq/wmts?access_token=pk.eyJ1IjoicHJvZnNhY2tzIiwiYSI6ImNrbDhnaHFlZTBhb2Yyb25sMThvMTNsd2kifQ.E7N3o-toUEV01DBOt1-FPw"
          moz-do-not-send="true">https://api.mapbox.com/styles/v1/profSacks/ckl8hw2rm53v918o7e09ig6mq/wmts?access_token=pk.eyJ1IjoicHJvZnNhY2tzIiwiYSI6ImNrbDhnaHFlZTBhb2Yyb25sMThvMTNsd2kifQ.E7N3o-toUEV01DBOt1-FPw</a><br>
             <br>
        4. error message:<br>
             Failed to download capabilities:  Download of capabilities
        failed: Error transferring
        <a class="moz-txt-link-freetext"
href="https://api.mapbox.com/styles/v1/profsacks/ckl8hw2rm53v918o7e09ig6mq/wmts"
          moz-do-not-send="true">https://api.mapbox.com/styles/v1/profsacks/ckl8hw2rm53v918o7e09ig6mq/wmts</a>?<br>
access_token=pk.eyJ1IjoicHJvZnNhY2tzIiwiYSI6ImNrbDhnaHFlZTBhb2Yyb25sMThvMTNsd2kifQ.E7N3o-toUEV01DBOt1-FPw&SERVICE=WMS&REQUEST=GetCapabilities
        - server replied: Not Found<br>
        <br>
        <br>
      </font> <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</pre>
    </blockquote>
    <div class="moz-signature">-- <br>
      <title>Email Signature</title>
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <table style="width: 525px; font-size: 11pt; font-family: Arial,
        sans-serif;" cellspacing="0" cellpadding="0">
        <tbody>
          <tr>
            <td style="text-align:center; font-size: 10pt; font-family:
              Arial, sans-serif; border-right: 1px solid;
              border-right-color: #fb6303; width: 125px; padding-right:
              10px; vertical-align: top;" rowspan="6" width="125"
              valign="top"> <a href="https://www.geomaster.pt"
                target="_blank"><img alt="Logo" style="width:105px;
                  height:auto; border:0;"
src="https://geomaster.pt/wp-content/uploads/2017/02/cropped-geomaster300x300-1.png"
                  width="85" border="0"></a> </td>
            <td style="padding-left:10px">
              <table cellspacing="0" cellpadding="0">
                <tbody>
                  <tr>
                    <td style="font-size: 10pt; color:#0079ac;
                      font-family: Arial, sans-serif; width: 400px;
                      padding-bottom: 5px; padding-left: 10px;
                      vertical-align: top;" valign="top"> <strong><span
                          style="font-size: 14pt; font-family: Arial,
                          sans-serif; color:#fb6303;">Geomaster</span></strong><br>
                      <strong><span style="font-size: 11pt; font-family:
                          Arial, sans-serif; color:black;">Jorge Gustavo
                          Rocha</span></strong> <span
                        style="font-family: Arial, sans-serif;
                        font-size:11pt; color:#000000;"><span
                          style="padding-right: 5px; padding-left: 5px;">
                          | </span>Software Engineer</span> </td>
                  </tr>
                  <tr>
                    <td style="font-size: 10pt; color:#444444;
                      font-family: Arial, sans-serif; padding-bottom:
                      5px; padding-top: 5px; padding-left: 10px;
                      vertical-align: top; line-height:17px;"
                      valign="top"> <span><span style="color: #fb6303;"><strong>e:</strong></span><span
                          style="font-size: 10pt; font-family: Arial,
                          sans-serif; color:#000000;"> <a class="moz-txt-link-abbreviated" href="mailto:jgr@geomaster.pt">jgr@geomaster.pt</a></span></span>
                      <span><span style="padding-left:
                          5px;padding-right: 5px;"> | </span><span
                          style="color: #fb6303;"><strong>m:</strong></span><span
                          style="font-size: 10pt; font-family: Arial,
                          sans-serif; color:#000000;"> +351 910 333 888<br>
                        </span></span> <span><span style="color:
                          #fb6303;"><strong>g:</strong></span><span
                          style="font-size: 10pt; font-family: Arial,
                          sans-serif; color:#000000;"> 41.54094,-8.40490</span></span>
                      <span><span style="padding-left:
                          7px;padding-right: 5px;"> | </span><span
                          style="color: #fb6303;"><strong>v: </strong></span><span
                          style="font-size: 10pt; font-family: Arial,
                          sans-serif; color:#000000; padding-left: 7px;">
                          510 906 109<br>
                        </span></span> <span> <span style="color:
                          #fb6303;"><strong>a: </strong></span> </span>
                      <span> <span style="font-size: 10pt; font-family:
                          Arial, sans-serif; color: #000000;"><span> </span>Rua
                          António Cândido Pinto, 67, 4715-400 Braga<br>
                        </span></span> </td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>