Инструменты пользователя

Инструменты сайта


ru:airlay:dataloader

Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
ru:airlay:dataloader [2020/08/20 12:03]
Максим [Коды ошибок]
ru:airlay:dataloader [2021/05/17 20:59] (текущий)
Лев [Коды ошибок]
Строка 47: Строка 47:
 /api/v3/logs/get /api/v3/logs/get
 { {
-    "time" : "2019-06-24T05:48:57.000Z", +    "_id": string, //Уникальный идентификатор 
-    "userId"/"dataLoaderId" : "5c6bba434c4f0f18df7066ba", +     
-    "status" : "success"/"error"/"In progress", +    "createTime": unixtime, //Время загрузки данный в систему 
-    "dataSetId" : "5d105c114c4f0f15e06049a3", +    "startUploadTime"unixtime, //Время начала обработки данных 
-    "errorMessage" : "Parser error/another file error", +    "endUploadTime": unixtime//Время окончания обработки данных 
-    "successCount" : int+     
-    "errorCount" : int+    "totalCount": int, //Общее количество объектов 
-    "objectErrorMessages" : Array<{+    "successCount": int, //Количество успешно загруженных объектов 
 +    "errorCount": int//Количество неуспешно загруженных объектов 
 +     
 +    "status": "wait| "progress""error" "success" 
 +    "message": string, 
 +     
 +    "customer": 
 +        "id": string
 +        "source": "user" | "dataLoader", 
 +        "name": string 
 +    } 
 +     
 +    "dataSetId": string
 +    "uniqueField": string | null, 
 +     
 +    filesFromInput: string[], //Загруженные файлы 
 +    filesFromStorage: string[], //Пути к загруженными файлам на сервере 
 +     
 +    "objectErrors" : Array<{
      "id" : string,      "id" : string,
      "message" : string,      "message" : string,
Строка 72: Строка 90:
 4. Блок "Способ отправки данных" содержит форму запроса к API. 4. Блок "Способ отправки данных" содержит форму запроса к API.
 ==== Коды ошибок ==== ==== Коды ошибок ====
-=== Import data === 
-  * 101 Invalid input data 
-  * 102 Invalid feature 
-  * 103 Object not delete. Unique field not set 
-  * 104 Object not delete. Object not found 
-  * 105 Coordinates must be is numeric 
-=== relation === 
-  *   201 Relation properties not exists 
-  *   202 Geometry cannot be built. Relation coordinates not exists 
-  *   203 Relation geometryType not exists 
-  *   204 Relation has no members 
  
-=== member === +=== Ошибки загурзки === 
-  * 301 Member not found. Id +  * 100 Системная ошибка 
-  * 302 Node not found +  * 201 Не существуют геометрии для зависимого объекта 
-  * 303 Invalid member type +  * 202 Не указаны координаты для точечного объекта 
-  * 304 One relation members expected for polygon +  * 203 Превышена максимальная дистанция между объектами 
-  * 305 Three or more node members expected for polygon +  * 204 Маленькая площадь полигона 
-  * 306 Impossible to build the geometry of different types +  * 301 Ошибка в линии, дублирование координат точек 
-  * 307 One and more relation member is expected for a multi point +  * 302 Некорректная геометрия объекта 
-=== geometry === +  * 303 Недопустимый тип геометрии 
-  * 400 Relation not found +  * 304 Самопересечение полигона 
-  * 401 Geometry type point is expected for a MultiPoint relation +  * 401 Не указаны координаты 
-  * 402 Geometry type Point or LineString is expected for a LineString +  * 402 Тип геометрии не поддерживается 
-  * 403 Invalid geometry, is not array +  * 403 Некорректный тип геометрии для смешанных связей 
-  * 404 Invalid geometry, coordinates must contain one pair/triplet of coordinates +  * 404 Некорректный объект 
-  * 405 Invalid geometry, incorrect longitude value +  * 405 Не заполнено обязательное поле 
-  * 405 Invalid geometry, incorrect latitude value +  * 406 Не удалось построить барицентр 
-  * 406 Invalid geometry, the lineString must consist of 2 or more points +  * 501 Найдена цикличная связь объектов 
-  * 407 Invalid geometry, duplicate points in line: +  * 502 Некорректный тип связанного объекта 
-  * 408 Invalid geometry, the polygon must consist at least one LinearRing +  * 503 Недопустимая геометрия у связанного объекта
-  * 409 Invalid geometry, the polygon is not closed +
-  * 410 Polygon crosses itself +
-  * 411 Invalid geometry type +
-  * 412 Empty geometry coordinates +
-  * 413 Exceeded the maximum length +
-  * 414 Invalid geometry, the LinearRing must consist of 3 or more Points+
ru/airlay/dataloader.1597899825.txt.gz · Последнее изменение: 2020/08/20 12:03 — Максим