REST client shows 500 internal server error

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Established Member

REST client shows 500 internal server error

Jump to solution

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 .

POST Man Screen shotPOST Man Screen shot

1 Solution

Accepted Solutions
Highlighted
Established Member

Re: REST client shows 500 internal server error

Jump to solution

it was my bad , i was sending wrong content type

View solution in original post

4 Replies
Highlighted
Established Member

Re: REST client shows 500 internal server error

Jump to solution

it was my bad , i was sending wrong content type

View solution in original post

Highlighted
Moderator
Moderator

Re: REST client shows 500 internal server error

Jump to solution

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-C02, GAIQ)
Highlighted
Moderator
Moderator

Re: REST client shows 500 internal server error

Jump to solution

Glad you found the cause and fixed it. 

~Abhinav
(ACSCE, AWS SAA-C02, GAIQ)
Highlighted
Community Manager
Community Manager

Re: REST client shows 500 internal server error

Jump to solution

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!