ORCID plugin: error sending articles to author's account

Hi, we are having problems in sending articles to ORCID account of authors.
The first time we tried, we found this in ORCID plugin logs:
{ "response-code":400, "developer-message":"400 Bad request: invalid JSON - cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[\\s\\S]*[^\\s\\n\\r]+[\\s\\S]*' for type '#AnonType_translated-title'.", "user-message":"Invalid JSON.", "error-code":9047, "more-info":"https://members.orcid.org/api/resources/troubleshooting" }

We understand that the problem is here:
... "translated-title":{ "value":"", "language-code":"en" } ...

But we tried either typing a title in english (languages for the journal were italian as primary and english) and removing english from journal languages, with no result.

Logs are now showing an error 9047, that should refer to a null value for this field org.orcid.jaxb.model.common_v2.Subtitle@1f, but it sounds weird because subtitle is not a mandatory field… below the full log.

Can someone help?
Best regards
Stefano

2020-05-13 15:33:28.669 INFO POST https://api.orcid.org/oauth/token
2020-05-13 15:33:28.670 INFO Request header: array (
0 => ‘Accept: application/json’,
)
2020-05-13 15:33:28.671 INFO Request body: code=hnYUaR&grant_type=authorization_code&client_id=APP-XXXXXXXXXXXXXXXX&client_secret=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
2020-05-13 15:33:29.229 INFO Response body: {“access_token”:“045def16-16cb-4ab0-87f3-bd4f29852364”,“token_type”:“bearer”,“refresh_token”:“ae28b2d3-cdcb-43d3-ba7b-c19fd29cce4f”,“expires_in”:631138518,“scope”:"/activities/update",“name”:“Rossella Filadoro”,“orcid”:“0000-0002-7287-4087”}
2020-05-13 15:33:43.657 INFO POST https://api.orcid.org/oauth/token
2020-05-13 15:33:43.658 INFO Request header: array (
0 => ‘Accept: application/json’,
)
2020-05-13 15:33:43.659 INFO Request body: code=u9dwvS&grant_type=authorization_code&client_id=APP-XXXXXXXXXXXXXXXX&client_secret=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
2020-05-13 15:33:44.202 INFO Response body: {“access_token”:“0a7dc278-6190-4edc-9a49-8db8e2417685”,“token_type”:“bearer”,“refresh_token”:“df055d49-5787-4ad4-8352-5337ffe2a630”,“expires_in”:631138518,“scope”:"/activities/update",“name”:“Stefano Bolelli Gallevi”,“orcid”:“0000-0002-9680-0461”}
2020-05-13 15:34:31.892 INFO Request body (without put-code): {“title”:{“title”:{“value”:“The Test article Number 4”},“subtitle”:{“value”:null}},“journal-title”:{“value”:null},“short-description”:"",“type”:“JOURNAL_ARTICLE”,“external-ids”:{“external-id”:[{“external-id-type”:“uri”,“external-id-value”:“https://riviste.unimi.it/index.php/testupov/article/view/12390",“external-id-relationship”:“SELF”}]},“publication-date”:{“year”:{“value”:“2020”},“month”:{“value”:“05”},“day”:{“value”:“13”}},“url”:“https://riviste.unimi.it/index.php/testupov/article/view/12390”,“citation”:{“citation-type”:“BIBTEX”,“citation-value”:"@article{filadoro_bolelli gallevi_2020, title={The Test article Number 4}, volume={6}, url={https://riviste.unimi.it/index.php/testupov/article/view/12390}, abstractNote={<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse ac risus tortor. Phasellus elementum ipsum est, in eleifend ligula eleifend eget. Quisque dictum porta erat ut ultrices. Pellentesque porttitor, tellus at rutrum malesuada, risus quam dapibus velit, et luctus risus dui sit amet tortor. Morbi auctor eros sit amet magna lobortis, dictum interdum dolor lobortis. Aliquam erat volutpat. Phasellus gravida odio a augue consectetur congue. Integer ornare mauris nec risus viverra viverra. Phasellus purus urna, faucibus ut ipsum dictum, tristique vehicula dui.</p&gt;}, number={6}, journal={Test ufficio riviste}, author={filadoro, rossella and bolelli gallevistefano}, year={2020}, month={May} }”},“language-code”:“en”,“contributors”:{“contributor”:[{“credit-name”:“rossella filadoro”,“contributor-attributes”:{“contributor-sequence”:“FIRST”,“contributor-role”:“AUTHOR”},“contributor-orcid”:{“uri”:“https://orcid.org/0000-0002-7287-4087",“path”:“0000-0002-7287-4087”,“host”:“orcid.org”}},{“credit-name”:"stefano bolelli gallevi”,“contributor-attributes”:{“contributor-sequence”:“ADDITIONAL”,“contributor-role”:“AUTHOR”},“contributor-orcid”:{“uri”:“https://orcid.org/0000-0002-9680-0461",“path”:“0000-0002-9680-0461”,“host”:"orcid.org”}}]}}
2020-05-13 15:34:31.892 INFO POST https://api.orcid.org/v2.1/0000-0002-7287-4087/work
2020-05-13 15:34:31.892 INFO Header: array (
0 => ‘Content-Type: application/vnd.orcid+json’,
1 => ‘Content-Length: 2025’,
2 => ‘Accept: application/json’,
3 => ‘Authorization: Bearer 045def16-16cb-4ab0-87f3-bd4f29852364’,
)
2020-05-13 15:34:32.547 INFO Response status: 400
2020-05-13 15:34:32.547 ERROR Unexpected status 400 response, body: {“response-code”:400,“developer-message”:“400 Bad request: invalid JSON - Object must have some value in its @XmlValue field: org.orcid.jaxb.model.common_v2.Subtitle@1f”,“user-message”:“Invalid JSON.”,“error-code”:9047,“more-info”:“https://members.orcid.org/api/resources/troubleshooting”}
2020-05-13 15:34:32.547 INFO POST https://api.orcid.org/v2.1/0000-0002-9680-0461/work
2020-05-13 15:34:32.547 INFO Header: array (
0 => ‘Content-Type: application/vnd.orcid+json’,
1 => ‘Content-Length: 2025’,
2 => ‘Accept: application/json’,
3 => ‘Authorization: Bearer 0a7dc278-6190-4edc-9a49-8db8e2417685’,
)
2020-05-13 15:34:33.184 INFO Response status: 400
2020-05-13 15:34:33.184 ERROR Unexpected status 400 response, body: {“response-code”:400,“developer-message”:“400 Bad request: invalid JSON - Object must have some value in its @XmlValue field: org.orcid.jaxb.model.common_v2.Subtitle@1f”,“user-message”:“Invalid JSON.”,“error-code”:9047,“more-info”:“https://members.orcid.org/api/resources/troubleshooting”}

Check [ojs 3.2.0.3] ORCID 400 Bad request: invalid JSON

Hi @dagosalas, thank you very much!
Best regards
Stefano