-
Notifications
You must be signed in to change notification settings - Fork 90
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
Отправка TemplateToPost #1085
Comments
А может вообще проблема в кодировке, но я делал и так:
и так:
Результат не меняется |
а попробуй реально добавить Metadata
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Всем привет!
Подскажите, пожалуйста, никак не пойму в чем проблема.
Отправляю POST-запрос "PostTemplate":
В итоге ошибка 400: Can't deserialize request body into type TemplateToPost: Invalid wire-type; this usually means you have over-written a file without truncating or setting the length; see https://stackoverflow.com/q/2152978/23354.
Что я делаю не так?
Есть подозрение, что это из-за того, что я не задал в элементе списка "DocumentAttachment" Metadata. Я знаю, как полкчить список метадат для конкретного тип/ функции/версии документа, но ведь у нас просто шаблон, а здесь https://developer.kontur.ru/Docs/diadoc-api/proto/TemplateDocumentAttachment.html сказано, что в Metadata должны быть пары ключ-значение, а в шаблоне не может быть значений - там же только ключи
The text was updated successfully, but these errors were encountered: