You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@usergrid.apache.org by "Brandon Shelley (JIRA)" <ji...@apache.org> on 2015/12/04 23:01:10 UTC

[jira] [Created] (USERGRID-1177) Making a PUT request to a collection with an Array body throws a 500 error

Brandon Shelley created USERGRID-1177:
-----------------------------------------

             Summary: Making a PUT request to a collection with an Array body throws a 500 error
                 Key: USERGRID-1177
                 URL: https://issues.apache.org/jira/browse/USERGRID-1177
             Project: Usergrid
          Issue Type: Bug
          Components: Stack
    Affects Versions: 2.1.0
            Reporter: Brandon Shelley
             Fix For: 2.1.0


Make a PUT request to:
{code}https://api-connectors-prod.apigee.net/appservices/api-connectors/sdksandbox/nodejs{code}

with body:
{code}[{"food": "lasagne"}]{code}

Throws a 500 error.

The same payload NOT wrapped in an array creates the record and returns a 200 OK.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)