<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>thread Receiving 401 Errors in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Receiving-401-Errors/m-p/154668#M97786</link>
    <description>&lt;P&gt;Created a Square account and received credentials for the Sandbox for using the SPaymentForm. Everything works great and I can validate the results in my Dashboard. The customer I am working for sent me her Sandbox credentials and using the same code with her credentials I received 401 errors upon loading the page. Will her credentials not work for me and if not why?&lt;/P&gt;</description>
    <pubDate>Mon, 02 Mar 2020 02:38:32 GMT</pubDate>
    <dc:creator>mcoogan51</dc:creator>
    <dc:date>2020-03-02T02:38:32Z</dc:date>
    <item>
      <title>Receiving 401 Errors</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Receiving-401-Errors/m-p/154668#M97786</link>
      <description>&lt;P&gt;Created a Square account and received credentials for the Sandbox for using the SPaymentForm. Everything works great and I can validate the results in my Dashboard. The customer I am working for sent me her Sandbox credentials and using the same code with her credentials I received 401 errors upon loading the page. Will her credentials not work for me and if not why?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 02:38:32 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Receiving-401-Errors/m-p/154668#M97786</guid>
      <dc:creator>mcoogan51</dc:creator>
      <dc:date>2020-03-02T02:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Receiving 401 Errors</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Receiving-401-Errors/m-p/154952#M97787</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/252241"&gt;@mcoogan51&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I reached out to the API team and they replied with the following:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;"To load the payment form you need an application id, which it sounds like they got from their merchant. To take a payment, they would also need their access token, and with an invalid access token then it would result in a 401 error."&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;+&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;"They (the developer) should create the application, and then use OAuth to request access to their merchant’s accounts: &lt;A href="https://developer.squareup.com/docs/oauth-api/what-it-does" target="_blank"&gt;OAuth API Page&lt;/A&gt;"&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 19:21:13 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Receiving-401-Errors/m-p/154952#M97787</guid>
      <dc:creator>ashc</dc:creator>
      <dc:date>2020-03-03T19:21:13Z</dc:date>
    </item>
  </channel>
</rss>

