Skip to content

Commit

Permalink
add faq item for unapproved app
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgolec committed Jun 30, 2024
1 parent 734448a commit b218d98
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 504 deletions.
Binary file added docs/_static/access-denied.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/_static/attempted-unauth-access.png
Binary file not shown.
Binary file removed docs/attempted-unauth-access.png
Binary file not shown.
26 changes: 26 additions & 0 deletions docs/auth.rst
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,32 @@ can also `join our Discord server <https://discord.gg/M3vjtHj>`__ to ask
questions.


++++++++++++++++++++++++++++++++++++
Suspicious errors during signin flow
++++++++++++++++++++++++++++++++++++

All API endpoints require an approved app. When you app is first created and
anytime it's modified, it will go into state ``Approved - Pending``, a
confusingly-named status indicating that the application is being manually
approved by Schwab. Until that status changes to ``Ready for Use``, you cannot
proceed using ``schwab-py``, and you will encounter difficult-to-debug errors. A
listing of the types of errors people have reported:

* ``401 Unauthorized`` errors in the signin flow
* ``4001``, ``Session rejected``, or ``assertion_rejected`` payloads
* ``Access Denied`` and ``You don't have permission to access
"http://api.schwabapi.com/v1/oauth/authorize?" on this server"``

.. image:: _static/access-denied.png
:width: 500
:align: center

Approval appears to be a manual process, and most users have reported
transitioning to the ``Ready for Use`` status within a few days. Please note
this behavior is implemented on Schwab's side, so the library authors have no
ability to influence this or speed up your approval time.


.. _ssl_errors:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Expand Down
Binary file removed docs/discord-logo.png
Binary file not shown.
Binary file removed docs/github-logo.png
Binary file not shown.
Binary file removed docs/patreon.png
Binary file not shown.
Loading

0 comments on commit b218d98

Please sign in to comment.