jasonnitta
10 years agoGuide
Uploading Image using REST: apiuser permissions issue
Hello! I'm trying to upload a photo to the default album of a user via REST v1 by using an API user. The API user has every permission that I have access to in the Admin console. We are using session key authentication to make the calls. The REST endpoint that we are calling is:
users/login/{{username}}/media/albums/default/public/images/upload
This call is successful when passing in the API user's login to the call. However, when I pass in any other login, I get the following response error:
{
  "response": {
    "status": "error",
    "value": null,
    "error": {
      "code": "303",
      "message": "User 59 does not have the following permission(s) at [OUR COMMUNITY]: [ ]"
    },
    "image": null,
    "ratings_histogram": null
  }
}
What permissions am I missing? Thanks for your help!