Project: usergrid
Issue USERGRID-249: Can't post on connection
After setting up my roles as prescribed, I receive this error in the terminal when trying to create a connection: WARNING: Exception occurred during body skip java.lang.IllegalStateException: Can not skip more bytes than available org.glassfish.grizzly.http.server.io.InputBuffer.skip(InputBuffer.java:600)	… I tried issuing this command from the shell in the portal: post /users/2760f03a-22ef-11e4-8ffd-f3f0018b3726/mynotes { "data": "Learn Usergrid�? } and post /users/2760f03a-22ef-11e4-8ffd-f3f0018b3726/mynotes [{ "data": "Learn Usergrid"}] Either command returns: /users/2760f03a-22ef-11e4-8ffd-f3f0018b3726/mynotes { "action": "post", "application": "f2b952fa-22ee-11e4-9b4b-e9ea3d610fab", "params": { "access_token": [ "YWMtmZWU0iQUEeScLt1PgUhfegAAAUf7J0uW32RkTiYpwSNVOHBVAtmkMnjFT3s" ] }, "path": "/users/2760f03a-22ef-11e4-8ffd-f3f0018b3726/mynotes", "uri": "http://localhost:8080/test.2/note-pad/users/2760f03a-22ef-11e4-8ffd-f3f0018b3726/mynotes", "entities": [], "timestamp": 1408063432982, "duration": 6, "organization": "test.2", "applicationName": “note-pad" } However, no entities are being created. I’ve also tried using curl with the same results: curl -H "Authorization: Bearer YWMt2j3JaCQLEeSr1fvx65wFRAAAAUf67ffU8cqvWOyiAVXXIOea177UF05Noa8" -X POST -d '[ {"data":"Lear Usergrid"}]' http://localhost:8080/test.2/note-pad/users/me/mynotes I did execute a post /users/2760f03a-22ef-11e4-8ffd-f3f0018b3726/mynotes by itself as well, which made no difference. -charles
Story points: 3