Common implementation problems
|wac| application loads, it immediately displays a 'Session expired' errorWhen an
This is typically caused by supplying an invalid :term:`access_token_ttl` value. Despite its misleading name, it does not represent a duration of time for which the access token is valid. See :term:`the documentation on access_token_ttl<access_token_ttl>` for more information.
|wac| applications don't load in the correct mode; e.g. they load in view mode instead of edit modeThe
The most common cause of this behavior is that the :ref:`action URL<Action URLs>` for the application is not being generated properly. Check that your action URLs match the templates provided in the urlsrc property in :ref:`discovery`. Common mistakes include removing required parameters from the query string or not properly removing/filling in :ref:`placeholder values`.
|wac|, opening the same document in view mode doesn't contain the changesAfter editing a document in
The |wac| applications utilize a :ref:`cache<cache>`, so the most likely reason for seeing stale content in view mode is because you have not properly updated the :term:`Version` value you return in :ref:`CheckFileInfo`.
If you are providing a :term:`SHA256` value, ensure that this value is also recalculated properly when the file content changes.