using javascript api 3.14, i am getting
<b>Error: </b>Error parsing multi-part request<br/>
<b>Code: </b>500<br/><br/>
on all my feature services that have attachments enabled. These services previously worked with earlier versions of the api, so I am not sure when it broke.
Any ideas? I can add attachments fine in desktop.
Data is in sde, versioned.
we've got something in place with attach relates, but I think we're pulling from fgdb, I'll look into it tomorrow
appreciate it david
I just tried it straight through the rest interface. Fails as well. So its not a WAF, web adapter, or Javascript error.
I tried with and without the version name.
Attachments work fine in Desktop with the same user and version, so I dont think its an SDE issue.
Since you can repro this through the rest services directory seems like it might be a server issue instead of a JSAPI issue. Perhaps try posting this question in the ArcGIS for Server space?
as an additional note,
AGS is 10.3.1
SDE is still 10.2.2
Hi Jeff - I sent you an email - I think your email address has changed. Turns out that we thus far were using attachments with a hosted feature service, so I haven't actually tried adding attachments through server yet.
Sorry for the failure to followup.
I had to remove one server from my cluster. Once i removed it and added it back in the issue resolved itself
as I was, this was fixed, now i am getting
<head>
<title>
Error: Error parsing multi-part request</title>
<link href="https://community.esri.com/arcgis03/rest/static/main.css" rel="stylesheet" type="text/css"/>
</head>
Again. Very frustrating.
what are you trying to do Jeff, add attachments through the editor dijit in the api?
yes but i also tried adding them directly through the rest api.