An error on JsonDeserialize<xxx> from '{"xxxxs":[{

Steps for reproducing:

While creating new items such us issue, project, time entry, etc.

Error

An exception has been occurred.

Details: An error on JsonDeserialize<Issue> from '{"issues":[{

An exception has been occurred.

Details: An error on JsonDeserialize<TimeEntry> from '{"time_entries":[{

Reason

Incorrect configuration of forwarding from HTTP to HTTPS.

The Web Server (NGIX) that serves requests to Redmine is configured in such a way that it redirects the request via HTTP to HTTPS.

All POST requests are redirected as GET requests to the same address, although it is more correct and safe to cause an error.

Therefore, all POST requests to the Redmine API over HTTP will cause an error.

Incorret configuration

<VirtualHost _default_:8181>
DocumentRoot "C:/Bitnami/redmine-3.4.6-5/apache2/htdocs"
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/(.*) https://localhost:8144/$1 [R,L]

Instructions

  1. Try using this address https:// instead of http://

  2. Go to -> Outlook -> Redmine tab -> Settings -> type the web address -> save

As an alternative, remove listed to HTTP protocol in your web server and use only HTTPS

Related articles