2023 Feb 20 4:43 PM
bad content type error when sending an attachment to the service layer, reuse is mounted
POST https://xxxxxx/b1s/v2/Attachments2 HTTP/1.1
Cookie: B1SESSION=51981d56-b11b-11ed-8000-005056ae3132;HttpOnly;
Content-Type: multipart/form-data; boundary=33c01fae-c284-4d2f-9768-bb027ab57af9
Content-Length: 278568
Host: xxxxxxxx
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: okhttp/4.10.0
--33c01fae-c284-4d2f-9768-bb027ab57af9
Content-Disposition: form-data; name="file"; filename="image.png"
Content-Type: image/png
Content-Length: 278356
<image binary>
--33c01fae-c284-4d2f-9768-bb027ab57af9--
I am sending from an android device I get this error, the deskop works, I would like to know where I am going wrong
2023 Feb 20 4:44 PM
Thank you for visiting SAP Community to get answers to your questions.
As you're looking to get most out of your community membership, please consider include a profile picture to increase user engagement & additional resources to your reference that can really benefit you:
I hope you find this advice useful, and we're happy to have you as part of SAP Community!
All the best,
Alex