Start a new topic
Solved

Documentation is incorrect on Retrieve User, requires Name param

https://dev.ost.com/docs/api_users_retrieve.html


On "Retrieve a User", it doesn't mention that you need to supply a Name parameter. (I don't know why you need the name.) Making the request without the name param gives you this response:

{u'err': {u'msg': u'At least one parameter is invalid or missing. See "err.error_data" array for more details.', u'code': u'BAD_REQUEST', u'error_data': [{u'msg': u'missing name', u'parameter': u'name'}], u'internal_id': u'v_ap_3'}, u'success': False}

 


BTW, it doesn't matter what you put in the Name param, only the UUID is used.

Nevermind, was using POST on /users/{id} which is actually "Update a User"

Login to post a comment