.. _webapi2.0-error-103:

===================
103 - Not Logged In
===================

+----------------------+-----------------------------------------------------+
| **API Error Code**   | 103                                                 |
+----------------------+-----------------------------------------------------+
| **HTTP Status Code** | :http:`401`                                         |
+----------------------+-----------------------------------------------------+
| **HTTP Headers**     | ``WWW-Authenticate``                                |
+----------------------+-----------------------------------------------------+
| **Error Text**       | ``You are not logged in``                           |
+----------------------+-----------------------------------------------------+
| **Description**      | The resource requires that your client is logged    |
|                      | in, and you're not logged in yet. This is sent      |
|                      | along with ``WWW-Authenticate`` HTTP headers.       |
|                      |                                                     |
|                      | See :ref:`2.0-authenticating` for more information. |
+----------------------+-----------------------------------------------------+


Example
-------

.. code-block:: javascript

   {
     stat: "fail",
     err: {
       code: 103,
       msg: "You are not logged in"
     }
   }


.. comment: vim: ft=rst et ts=3
