cancel
Showing results for 
Search instead for 
Did you mean: 

REST client shows 500 internal server error

brijeshnk
Star Contributor
Star Contributor

Hi there ,

I am trying to upload document using REST client. but it shows  500 internal server . I was just trying with simple file upload .  please see screen shot below from POSTMAN client .   Any input please ?  I am using version ACS  5.2 version with  Basic authentication .

imagePOST Man Screen shot

1 ACCEPTED ANSWER

brijeshnk
Star Contributor
Star Contributor

it was my bad , i was sending wrong content type

View answer in original post

4 REPLIES 4

brijeshnk
Star Contributor
Star Contributor

it was my bad , i was sending wrong content type

EddieMay
World-Class Innovator
World-Class Innovator

Hi @brijeshnk,

Thanks for updating your issue - helpful to other users.

I'm going to mark this as solved.

Cheers, 

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!

abhinavmishra14
World-Class Innovator
World-Class Innovator

It will be helpful to if you share the server log (alfresco.log/share.log). 

Can you also try this rest api instead: https://docs.alfresco.com/6.1/concepts/dev-api-by-language-alf-rest-upload-file.html

This post may also be helpful: 

https://hub.alfresco.com/t5/alfresco-content-services-forum/internal-error-500-on-upload-file-from-r...

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

Glad you found the cause and fixed it. 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)