crowdin-api-client-java icon indicating copy to clipboard operation
crowdin-api-client-java copied to clipboard

Impossible dentify error source with batch upload (PATCH)

Open mmuruev opened this issue 1 year ago • 1 comments

{
    "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 avatar Aug 09 '24 14:08 mmuruev

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

mmuruev avatar Sep 06 '24 08:09 mmuruev

Available in 1.18.0

andrii-bodnar avatar Sep 24 '24 08:09 andrii-bodnar