[
https://issues.apache.org/jira/browse/FINERACT-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160576#comment-17160576
]
Petri Tuomola commented on FINERACT-1035:
-----------------------------------------
OK turns out the CORS issue was a bit of a red herring: Chrome complains of
CORS but only because the HTTP 500 response it gets from the server doesn't
have CORS headers. So the real issue is why does Fineract respond with HTTP
500.
I can't reproduce this issue on my local server so difficult to fix - would
need to understand why it is failing on demo.fineract.dev. [~vorburger] could
perhaps have a look at the log files and see if there are any errors linked to
this? I've sent loads of requests this morning so should be plenty of
occurences of Internal Server Error to look at...
> Facing error while uploading document in 'Load Documents Tab' in the loans
> module
> ---------------------------------------------------------------------------------
>
> Key: FINERACT-1035
> URL: https://issues.apache.org/jira/browse/FINERACT-1035
> Project: Apache Fineract
> Issue Type: Bug
> Components: Loan
> Affects Versions: 1.2.0
> Environment: OS: Fedora 32
> Reporter: Muskan Khedia
> Assignee: Petri Tuomola
> Priority: Blocker
> Labels: patch
> Attachments: Screenshot from 2020-06-10 22-40-55.png
>
>
> Currently, I am using the *staging.mifos.io* server and while making a POST
> request to load documents in the loans account, I am receiving an Internal
> 500 Error.
> Steps to reproduce:
> 1. Open the link: [https://staging.mifos.io/#/viewloanaccount/25]
> 2. Click on the *Loan Documents Tab*
> 3. Click on the *Upload Button*
> 4. A form with the option to upload a document will appear, try uploading any
> document.
> I have also attached the screenshot of the error with the network console
> returning the 500 Internal Error.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)