XMLRPC: system error (galleryclosed)
mdm
Registered Users Posts: 9 Beginner grinner
Hey, y'all. When uploading an image via XMLRPC:
ThIs_Is_tHe_bouNdaRY_$
Content-Disposition: form-data; name="AlbumID"
682958
ThIs_Is_tHe_bouNdaRY_$
Content-Disposition: form-data; name="SessionID"
91caafa708c9461588354bfd18fcdf1e
ThIs_Is_tHe_bouNdaRY_$
Content-Disposition: form-data; name="ByteCount"
161210
ThIs_Is_tHe_bouNdaRY_$
Content-Disposition: form-data; name="Image"; filename="./IMG_2158.JPG"
Content-Type: image/jpeg
content-length: 161210
[image data deleted]
I get the following response:
200
OK
Date: Tue, 09 Aug 2005 22:33:17 GMT
Server: Apache
Set-Cookie: smstatus=10.27.27.13.1123626797339372; path=/; max-age=3024000; domain=.smugmug.com
X-Powered-By: smugmug/1.2.0
Set-Cookie: SMSESS=121a6a513011f06b5f9565efcae74f2b; path=/; domain=.smugmug.com
Cache-Control: private, max-age=1, must-revalidate
Pragma:
Connection: close
Content-Type: text/xml
< ?xml version='1.0' encoding="iso-8859-1" ?>
< methodResponse>
< fault>
< value>
< struct>
< member>
< name>faultCode< /name>
< value>
< int>5< /int>
< /value>
< /member>
< member>
< name>faultString</name>
< value>
< string>system error (galleryclosed)< /string>
< /value>
< /member>
< /struct>
< /value>
< /fault>
< /methodResponse>
Sadly, the response “system error (galleryclosed)” doesn’t mean anything to me. Can anybody give me a description of what causes this error to be returned?
Thanks!
Michael
ThIs_Is_tHe_bouNdaRY_$
Content-Disposition: form-data; name="AlbumID"
682958
ThIs_Is_tHe_bouNdaRY_$
Content-Disposition: form-data; name="SessionID"
91caafa708c9461588354bfd18fcdf1e
ThIs_Is_tHe_bouNdaRY_$
Content-Disposition: form-data; name="ByteCount"
161210
ThIs_Is_tHe_bouNdaRY_$
Content-Disposition: form-data; name="Image"; filename="./IMG_2158.JPG"
Content-Type: image/jpeg
content-length: 161210
[image data deleted]
I get the following response:
200
OK
Date: Tue, 09 Aug 2005 22:33:17 GMT
Server: Apache
Set-Cookie: smstatus=10.27.27.13.1123626797339372; path=/; max-age=3024000; domain=.smugmug.com
X-Powered-By: smugmug/1.2.0
Set-Cookie: SMSESS=121a6a513011f06b5f9565efcae74f2b; path=/; domain=.smugmug.com
Cache-Control: private, max-age=1, must-revalidate
Pragma:
Connection: close
Content-Type: text/xml
< ?xml version='1.0' encoding="iso-8859-1" ?>
< methodResponse>
< fault>
< value>
< struct>
< member>
< name>faultCode< /name>
< value>
< int>5< /int>
< /value>
< /member>
< member>
< name>faultString</name>
< value>
< string>system error (galleryclosed)< /string>
< /value>
< /member>
< /struct>
< /value>
< /fault>
< /methodResponse>
Sadly, the response “system error (galleryclosed)” doesn’t mean anything to me. Can anybody give me a description of what causes this error to be returned?
Thanks!
Michael
0
Comments
you have posted your request, too..
To get around VB formatting xml, add space after < character. e.g.
< body>
< some tag>
< /body>
HTH
Request data added above (and formatting fixed, thanks!).