add-item permissions and core.addDataItem

fortyfoxes

Joined: 2006-09-24
Posts: 8
Posted: Sun, 2007-03-11 14:51

Gallery v2.1.2 with remote protocol server version 2.8

When using:

Quote:
cmd=add-item
protocol_version=2.0
set_albumName=album name
userfile=user-file

with a url (the docs are not clear on image encoding for the post), I get the following error:

Quote:
#__GR2PROTO__
status=403
status_text=Upload failed\: 'user id\: 6 doesn't have permission\: core.addDataItem for item id\: "Istanbul"'.
status_debug=1
debug_user=admin

Now I am guessing that user id is "anonymous" though I cannot tell, which is strange because I login before and add the Session ID to the http headers. Also there is no "addDataItem" permission listed for the album in the GUI - anyone got any ideas what is going wrong?