Skip to content

Commit

Permalink
GEODE-2187: Docs: bad subnav link in REST Apps > Troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
davebarnes97 committed Dec 7, 2016
1 parent 7fb0e68 commit f58a11d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
9 changes: 2 additions & 7 deletions geode-book/master_middleman/source/subnavs/geode-subnav.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ limitations under the License.
<div class="nav-content">
<ul>
<li>
<a href="/docs/guide/about_geode.html">Apache Geode 1.0.0-incubating Documentation</a>
<a href="/docs/guide/about_geode.html">Apache Geode Documentation</a>
</li>
<li class="has_submenu">
<a href="/docs/guide/getting_started/book_intro.html">Getting Started with Apache Geode</a>
Expand Down Expand Up @@ -1642,13 +1642,8 @@ limitations under the License.
<li>
<a href="/docs/guide/rest_apps/rest_examples.html">Sample REST Applications</a>
</li>
<li class="has_submenu">
<li>
<a href="/docs/guide/rest_apps/troubleshooting.html">Troubleshooting and FAQ</a>
<ul>
<li>
<a href="/docs/guide/rest_apps/troubleshooting.html#concept_gsv_zd5_m4">Key Types and JSON Support</a>
</li>
</ul>
</li>
<li class="has_submenu">
<a href="/docs/guide/rest_apps/rest_api_reference.html">Apache Geode REST API Reference</a>
Expand Down
5 changes: 1 addition & 4 deletions geode-docs/rest_apps/troubleshooting.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@ limitations under the License.

This section provides troubleshooting guidance and frequently asked questions about Geode Developer REST APIs.

- **[Key Types and JSON Support](../rest_apps/troubleshooting.html#concept_gsv_zd5_m4)**

When defining regions (your REST resources), you must only use scalar values for keys and also set value constraints in order to avoid producing JSON that cannot be parsed by Geode.

## Checking if the REST API Service is Up and Running

Use the ping endpoint to verify whether the REST API server is available.
Expand All @@ -52,6 +48,7 @@ If the server is not available, your client will receive an HTTP error code and
When defining regions (your REST resources), you must only use scalar values for keys and also set value constraints in order to avoid producing JSON that cannot be parsed by Geode.

If Geode regions are not defined with scalar values as keys and value constraints, then you may receive the following error message (even though the JSON is technically valid) in your REST client applications:

``` pre
Json doc specified in request body is malformed..!!'
```
Expand Down

0 comments on commit f58a11d

Please sign in to comment.