crowdin / crowdin-api-client-java

Java client library for Crowdin API
https://jitpack.io/#crowdin/crowdin-api-client-java
MIT License
82 stars 54 forks source link

Impossible dentify error source with batch upload (PATCH) #254

Closed mmuruev closed 1 month ago

mmuruev commented 2 months ago
{
    "errors" : [
        {
            "index" : 1,
            "errors" : [
                {
                    "error" : {
                        "key" : "identifier",
                        "errors" : [
                            {
                                "code" : "notUnique",
                                "message" : "Invalid identifier given. Identifier must be unique"
                            }
                        ]
                    }
                }
            ]
        }
    ]

API return something like this but exception object ErrorHolder. Contains no 'index' info

mmuruev commented 1 month ago

https://github.com/crowdin/crowdin-api-client-java/pull/255

andrii-bodnar commented 1 month ago

Available in 1.18.0