Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error metadata on draft PUT call (500) #700

Open
ashish-garg-25 opened this issue Sep 8, 2023 · 0 comments
Open

Error metadata on draft PUT call (500) #700

ashish-garg-25 opened this issue Sep 8, 2023 · 0 comments

Comments

@ashish-garg-25
Copy link

Problem: I am trying to mark a word translated as "greetings" with "greet" but API is returning 500 for this specific translation. for others, it is working fine.
Also if I am doing the same as saving it as a suggestion with the same draft it is working fine.
I am attaching the PUT draft call with the usfm file I am using as a book

DRAFT CALL
URL: https://api.vachanengine.org/v2/translation/project/draft?project_id=100025
PAYLOAD

{
    "draft": "greet paul servant jew god and apostle-leader jew jew care clever they god show select people hope trust and they true this live jew they `god",`
    "draftMeta": [
        [
            [
                9,
                10
            ],
            [
                5,
                5
            ],
            "untranslated"
        ],
        [
            [
                10,
                14
            ],
            [
                5,
                5
            ],
            "untranslated"
        ],
        [
            [
                14,
                15
            ],
            [
                5,
                5
            ],
            "untranslated"
        ],
        [
            [
                15,
                15
            ],
            [
                5,
                6
            ],
            "untranslated"
        ],
        [
            [
                15,
                19
            ],
            [
                6,
                10
            ],
            "suggestion"
        ],
        [
            [
                19,
                21
            ],
            [
                10,
                10
            ],
            "untranslated"
        ],
        [
            [
                21,
                22
            ],
            [
                10,
                10
            ],
            "untranslated"
        ],
        [
            [
                22,
                23
            ],
            [
                10,
                10
            ],
            "untranslated"
        ],
        [
            [
                23,
                23
            ],
            [
                10,
                11
            ],
            "untranslated"
        ],
        [
            [
                23,
                30
            ],
            [
                11,
                18
            ],
            "suggestion"
        ],
        [
            [
                30,
                31
            ],
            [
                18,
                18
            ],
            "untranslated"
        ],
        [
            [
                31,
                31
            ],
            [
                18,
                19
            ],
            "untranslated"
        ],
        [
            [
                31,
                33
            ],
            [
                19,
                22
            ],
            "suggestion"
        ],
        [
            [
                33,
                34
            ],
            [
                22,
                22
            ],
            "untranslated"
        ],
        [
            [
                34,
                34
            ],
            [
                22,
                23
            ],
            "untranslated"
        ],
        [
            [
                34,
                37
            ],
            [
                23,
                26
            ],
            "suggestion"
        ],
        [
            [
                37,
                38
            ],
            [
                26,
                26
            ],
            "untranslated"
        ],
        [
            [
                38,
                38
            ],
            [
                26,
                27
            ],
            "untranslated"
        ],
        [
            [
                38,
                41
            ],
            [
                27,
                30
            ],
            "suggestion"
        ],
        [
            [
                41,
                42
            ],
            [
                30,
                30
            ],
            "untranslated"
        ],
        [
            [
                42,
                42
            ],
            [
                30,
                31
            ],
            "untranslated"
        ],
        [
            [
                42,
                52
            ],
            [
                31,
                45
            ],
            "suggestion"
        ],
        [
            [
                52,
                53
            ],
            [
                45,
                45
            ],
            "untranslated"
        ],
        [
            [
                53,
                53
            ],
            [
                45,
                46
            ],
            "untranslated"
        ],
        [
            [
                53,
                55
            ],
            [
                46,
                49
            ],
            "suggestion"
        ],
        [
            [
                55,
                56
            ],
            [
                49,
                49
            ],
            "untranslated"
        ],
        [
            [
                56,
                56
            ],
            [
                49,
                50
            ],
            "untranslated"
        ],
        [
            [
                56,
                61
            ],
            [
                50,
                53
            ],
            "suggestion"
        ],
        [
            [
                61,
                62
            ],
            [
                53,
                53
            ],
            "untranslated"
        ],
        [
            [
                62,
                62
            ],
            [
                53,
                54
            ],
            "untranslated"
        ],
        [
            [
                62,
                68
            ],
            [
                54,
                58
            ],
            "suggestion"
        ],
        [
            [
                68,
                70
            ],
            [
                58,
                58
            ],
            "untranslated"
        ],
        [
            [
                70,
                71
            ],
            [
                58,
                58
            ],
            "untranslated"
        ],
        [
            [
                71,
                72
            ],
            [
                58,
                58
            ],
            "untranslated"
        ],
        [
            [
                72,
                72
            ],
            [
                58,
                59
            ],
            "untranslated"
        ],
        [
            [
                72,
                75
            ],
            [
                59,
                65
            ],
            "suggestion"
        ],
        [
            [
                75,
                76
            ],
            [
                65,
                65
            ],
            "untranslated"
        ],
        [
            [
                76,
                80
            ],
            [
                65,
                65
            ],
            "untranslated"
        ],
        [
            [
                80,
                81
            ],
            [
                65,
                65
            ],
            "untranslated"
        ],
        [
            [
                81,
                81
            ],
            [
                65,
                66
            ],
            "untranslated"
        ],
        [
            [
                81,
                83
            ],
            [
                66,
                70
            ],
            "suggestion"
        ],
        [
            [
                83,
                84
            ],
            [
                70,
                70
            ],
            "untranslated"
        ],
        [
            [
                84,
                88
            ],
            [
                70,
                70
            ],
            "untranslated"
        ],
        [
            [
                88,
                89
            ],
            [
                70,
                70
            ],
            "untranslated"
        ],
        [
            [
                89,
                89
            ],
            [
                70,
                71
            ],
            "untranslated"
        ],
        [
            [
                89,
                92
            ],
            [
                71,
                74
            ],
            "suggestion"
        ],
        [
            [
                92,
                93
            ],
            [
                74,
                74
            ],
            "untranslated"
        ],
        [
            [
                93,
                93
            ],
            [
                74,
                75
            ],
            "untranslated"
        ],
        [
            [
                93,
                94
            ],
            [
                75,
                79
            ],
            "suggestion"
        ],
        [
            [
                94,
                95
            ],
            [
                79,
                79
            ],
            "untranslated"
        ],
        [
            [
                95,
                95
            ],
            [
                79,
                80
            ],
            "untranslated"
        ],
        [
            [
                95,
                101
            ],
            [
                80,
                86
            ],
            "suggestion"
        ],
        [
            [
                101,
                102
            ],
            [
                86,
                86
            ],
            "untranslated"
        ],
        [
            [
                102,
                102
            ],
            [
                86,
                87
            ],
            "untranslated"
        ],
        [
            [
                102,
                108
            ],
            [
                87,
                93
            ],
            "suggestion"
        ],
        [
            [
                108,
                109
            ],
            [
                93,
                93
            ],
            "untranslated"
        ],
        [
            [
                109,
                109
            ],
            [
                93,
                94
            ],
            "untranslated"
        ],
        [
            [
                109,
                113
            ],
            [
                94,
                98
            ],
            "suggestion"
        ],
        [
            [
                113,
                114
            ],
            [
                98,
                98
            ],
            "untranslated"
        ],
        [
            [
                114,
                114
            ],
            [
                98,
                99
            ],
            "untranslated"
        ],
        [
            [
                114,
                119
            ],
            [
                99,
                104
            ],
            "suggestion"
        ],
        [
            [
                119,
                120
            ],
            [
                104,
                104
            ],
            "untranslated"
        ],
        [
            [
                120,
                120
            ],
            [
                104,
                105
            ],
            "untranslated"
        ],
        [
            [
                120,
                123
            ],
            [
                105,
                108
            ],
            "suggestion"
        ],
        [
            [
                123,
                124
            ],
            [
                108,
                108
            ],
            "untranslated"
        ],
        [
            [
                124,
                134
            ],
            [
                108,
                108
            ],
            "untranslated"
        ],
        [
            [
                134,
                135
            ],
            [
                108,
                108
            ],
            "untranslated"
        ],
        [
            [
                135,
                135
            ],
            [
                108,
                109
            ],
            "untranslated"
        ],
        [
            [
                135,
                138
            ],
            [
                109,
                113
            ],
            "suggestion"
        ],
        [
            [
                138,
                139
            ],
            [
                113,
                113
            ],
            "untranslated"
        ],
        [
            [
                139,
                139
            ],
            [
                113,
                114
            ],
            "untranslated"
        ],
        [
            [
                139,
                144
            ],
            [
                114,
                118
            ],
            "suggestion"
        ],
        [
            [
                144,
                145
            ],
            [
                118,
                118
            ],
            "untranslated"
        ],
        [
            [
                145,
                145
            ],
            [
                118,
                119
            ],
            "untranslated"
        ],
        [
            [
                145,
                149
            ],
            [
                119,
                123
            ],
            "suggestion"
        ],
        [
            [
                149,
                150
            ],
            [
                123,
                123
            ],
            "untranslated"
        ],
        [
            [
                150,
                158
            ],
            [
                123,
                123
            ],
            "untranslated"
        ],
        [
            [
                158,
                159
            ],
            [
                123,
                123
            ],
            "untranslated"
        ],
        [
            [
                159,
                160
            ],
            [
                123,
                123
            ],
            "untranslated"
        ],
        [
            [
                160,
                161
            ],
            [
                123,
                123
            ],
            "untranslated"
        ],
        [
            [
                161,
                161
            ],
            [
                123,
                124
            ],
            "untranslated"
        ],
        [
            [
                161,
                165
            ],
            [
                124,
                128
            ],
            "suggestion"
        ],
        [
            [
                165,
                166
            ],
            [
                128,
                128
            ],
            "untranslated"
        ],
        [
            [
                166,
                166
            ],
            [
                128,
                129
            ],
            "untranslated"
        ],
        [
            [
                166,
                168
            ],
            [
                129,
                132
            ],
            "suggestion"
        ],
        [
            [
                168,
                169
            ],
            [
                132,
                132
            ],
            "untranslated"
        ],
        [
            [
                169,
                177
            ],
            [
                132,
                132
            ],
            "untranslated"
        ],
        [
            [
                177,
                178
            ],
            [
                132,
                132
            ],
            "untranslated"
        ],
        [
            [
                178,
                178
            ],
            [
                132,
                133
            ],
            "untranslated"
        ],
        [
            [
                178,
                180
            ],
            [
                133,
                137
            ],
            "suggestion"
        ],
        [
            [
                180,
                181
            ],
            [
                137,
                137
            ],
            "untranslated"
        ],
        [
            [
                181,
                181
            ],
            [
                137,
                138
            ],
            "untranslated"
        ],
        [
            [
                181,
                184
            ],
            [
                138,
                141
            ],
            "suggestion"
        ],
        [
            [
                184,
                185
            ],
            [
                141,
                141
            ],
            "untranslated"
        ],
        [
            [
                0,
                9
            ],
            [
                0,
                5
            ],
            "confirmed"
        ]
    ],
    "sentenceId": 57001001
}

Response:
{
"error": "Error",
"details": "'metaData'"
}

eBible_engerv_2018-08-30_TIT_usfm (1).txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant