Tim Mori | Okay, answering my own post. Apparently the 500 error is caused by either the data not being formatted correctly (I had one character with the wrong capitalization), or the headers are messed up.
I was using python, so I switched to using the poster module and let it set the boundary and content-length and it worked. The server still gave a 500 error for any media library item that didn't have a file size associated with it, but it added it anyway.
Essentially, I needed to migrate from an old DMM to a new one, but the published migration plan didn't work for me. Since I only needed the data from the Media Library, I just used the APIs to output from one and input into the other. |
| Please sign in to flag this as inappropriate. |