When creating, changing, deleting, and querying a POI, the API user should get a feedback with a unique error code and the possible description text for the error.
| Error | Error code | Error description |
|---|---|---|
| 0 | The error is not defined. | |
| ERROR_WRONG_USER_NAME | 1 | User with the given id "$id" is not existing. UserName :"$id" cannot be used. |
| ERROR_USER_NAME_ALREADY_EXSISTING | 2 | UserName :"$userName" cannot be used it is already existing. User with the given name is already existing. |
| ERROR_WRONG_LICENCE_KEY | 3 | LicenceKey :"$licenseKey" cannot be used. |
| ERROR_LICENCE_KEY_ALREADY_EXSISTING | 4 | LicenceKey :"$licenseKey" cannot be used it is already existing. |
| ERROR_WRONG_CUSTOMER | 5 | Customer with the id :"$customerId" is not existing. |
| ERROR_CHANNEL_NOT_EXSISTING | 6 | channel with the name "$channelName" or id: "$channelId" not found in database. the channel with the name "$channelId" is not existing. |
| ERROR_NOT_EXISTING_ROLE | 7 | The Role with the id "$roleId" not found in database. |
| ERROR_MISSING_PARAMS | 8 | The params is mising. The params for ... is required. |
| ERROR_NO_LANGUAGE | 9 | No language is given. No correct language is given. |
| ERROR_NO_POIDATA | 10 | No poi data objects has been given. Required Contribution cannot be found. |
| ERROR_DUPLICATE_LANGUAGE | 11 | The language has been given repeated. |
| INVALID_LANGUAGE | 12 | The given language "$language" is invalid. |
| WRONG_PERMISSION | 13 | User is not having required permission to ... |
| DIFFERNET_USER | 14 | User is not having required permission to ... for different user. |
| MISSING_USER_INFORMATION | 15 | No user information is given. |
| MISSING_LICENSE_KEY | 16 | The licence key is missing. The licencekey on the sticky information is missing. |
| CUSTOMER_NOT_FOUND | 17 | customer with the license key "$licenseKey" not found. |
| USER_NOT_FOUND | 18 | The user with the Falk ID "$falkId" cannot be found. The user friend cannot be found in the database. |
| BASE_POI_NOT_FOUND | 19 | for the poi with the valid mapping "$houseId": "$mappedHouseId" the imported poi cannot be found. Base POI is mandatory for stick information. |
| BASE_POI_NOT_VISIBLE | 20 | The POI is not visible for current user.
eThe poi is not visible for the given asccess type. |
| INFO_POI_NOT_FOUND | 21 | InfoPOI with the given ID "$infoPoiId" not found. |
| INFO_POI_NOT_VISIBLE | 22 | InfoPOI with the given ID "$infoPoiId" is not visible for different user. |
| CONTRIUTION_WITH_EXTERNAL_ID_EXISTS_FOR_DIFFERENT_BASE_POI | 23 | A contribution for user "$contributorID" and externalID "$externalId" exists for different basepoi $basePoiID. |
| INVALID_COUNTRY_CODE | 24 | Invalid country code "$countryCode". |
| UPDATE_ON_PRIVATE_POI_FROM_DIFFEREBT_USER | 25 | The poi is private, so it cannot be updated for a different user. |
| INVALID_ACCESS_TYPE | 26 | Wrong access type for this request. |
| INVALID_EXTERNAL_ID | 27 | The externalID was either null or an empty string. |
| INVALID_EXTERNAL_SERVICE_ID | 28 | The external service ID was either null or an empty string. |
| INVALID_CATEGORY_ID | 29 | The given category identifier "$categoryId" is invalid. The given info projection category identifier "$infoCategoryId" is invalid. |
| MISSING_CATEGORY | 30 | Missing category information. |
| TOO_MANY_CATEGORIES | 31 | A point of interest may not have more than "$MAX_CATEGORIES" categories." |
| FRIEND_NOT_FOUND | 32 | the user with the id "$friendId" is not a friend of the user with the id "$userId". |
| INVALID_MEDIA | 33 | No media stream available for operation files. The media with the title "$mediaTitle" doesn't have a media type. |
| MEDIA_NOT_FOUND | 34 | The Media with the id "$mediaId" was not found. No media objects available for uploaded files. |
| POI_IMPORT_FAILD_INVALID_EXTERNAL_ID | 35 | for the poi with external id "$poiExternalId" more than one existing pois was found. |
| POI_IMPORT_FAILD_INVALID_EXTERNAL_SERVICE_ID | 36 | for the poi with external service id "$poiExternalServiceId" more than one existing pois was found. |
| POI_FOLDER_NOT_FOUND | 37 | The poi folder with the id "$folderId" was not found or is owned by someone else. the folder with the given id "$poiFolderID" cannot be found. |
| POI_FOLDER_WRONG_TPYE | 38 | The poi folder with the id "$folderId" has the type "$folderType", which is not supported by the export.
adding pois is only allowed for the type poiList. The folder with the title "poiFolderTitle" doesn't have a folder type. the update for poi folder is using the wrong type. |
| POI_FOLDER_NOT_VISIBLE | 39 | the folder with the given id "$folderId" is not visible for the current user "$currentUserId". |
| POI_FOLDER_WRONG_PARENT_ID = 38; | 40 | it is not allowed to use the the own id as parentFolderId. |
| POI_FOLDER_BOOKAMRK_INFORMATION_MISSING | 41 | For the folder type bookmark a bookamrk ID is required. |
| SEARCH_PARAMS_MISSING | 42 | For the type search, the object search paramas is required. |
| GUST_VOTE_NOT_ALLOWED | 43 | Guest voting is not allowed. |
| MISSING_COMMENT_TEXT | 44 | The comment text is required. |
| WRONG_BASE_POI_FOR_COMMENT | 45 | Comment is not belonging to Base Poi with id "$poiId". Comment is not belonging to Base Poi with id "$poiId". |
| COMMENT_NOT_FOUND | 46 | comment with id "$commentId" cannot be found. the comment with the external id "$externalCommentId" cannot be found. |
| POI_DATA_ARE_NOT_EXPECTED_FOR_POI_VOTE | 47 | no poi data is expected in case of just a voting. |
| UNABLE_TO_STORE_MEDIA_FILE | 48 | storeMediaFile failed: "$e.getMessage()". The temp media file "$mediaFileName" could not be created. |
| INVALID_VOTING_DATA | 49 | Deleting customer votes is not possible. |
| UPDATE_VOTE_FOR_DIFFERNET_USER_NOT_ALLOWED | 50 | The current user is not having the permission to change the vote for a differtn user. |
| SETTING_STICKY_INFORMATION_ONLY_ALLOWED_ON_PUBLIC_POIS | 51 | changing sticky information is only allowed on public basePois. |
| WRONG_STICKY_INFORMATION | 52 | The StickyTO is missing the "stickyFrom" information. several sticky entries for one customer is not allowed. |
| FEATURED_POIS_NOT_PERMITTED | 53 | the current user is not permitted to retrieve all the featured POIs. the customer is not permitted to retrieve featured POIs. |
| INVALID_SORT_TYPE | 54 | The sort type "$sortType" is invalid without a perimeter search.
For searching featured POIs the sort type "$sortType" is invalid. |
| PROJECTION_HANDLER_FAILURE | 55 | |
| HTML_FILTER_HANDLING_FAILURE | 56 | InvalidDataException |
| MISSING_CONFIGURATION | 57 | |
| INVALID_THUMBSIZE | 58 | The requested Thumbsize is not supported. |
| CLUSTER_ERROR | 59 | POIIndexException |
| UNSUPPORTED_PROVIDER | 60 | No video provider was found. |
| REGION_NOT_FOUND | 61 | Region with the given id "$regionId" not found. the region could not be found because no region id was given. |
| UNSUPPORTED_FILE_TYPE | 62 | No registered image reader for this filetype. The filename "$logoName" of the logo is invalid. The extension is missing or is not a valid photo extension. |
| CONTRIBUTION_NOT_VISIBLE | 63 | The contritution of this poi is not visible for the given channel. |
| INVALID_REGIONAL_SALES_DATA | 64 | Regional sales must not be null.
Regional sales must have a customer identifier set. |
| OAUTH_HOST_NOT_AVAILABLE | 65 | No configuration entry for "$configKey" cannot use OAuthService. No configuration value for "$configKey", or value is empty. Cannot use OAuthService. |
| OAUTH_SERVICE_URL_NOT_AVAILABLE | 66 | No configuration entry for "$configKey". Cannot validate tokens, Single Sign-On login not available. No configuration value for "$configKey", or value is empty. Cannot validate tokens, Single Sign-On login not available. |
| OAUTH_SERVICE_URL_IS_INVALID | 67 | Malformed URL "$oAuthServiceURL" for customer "$customerName" ("$customerId"). Single Sign-On token validation is not possible for this customer: $e.toString(). |
| CONSUMER_SECRET_NOT_AVAILABLE | 68 | Customer "$customerName()" ("$customerId") doesn't have a consumer secret. Single Sign-On token validation is not possible for this customer. |
| OAUTH_AUTHENTICATION_ERROR | 69 | OAuth service request failed for URL "$oAuthServiceURL": $e.toString(). |
| OAUTH_AUTHENTICATION_FAILED | 70 | User authentication for token "$serviceAccessParametersToken" is failed. |
| OAUTH_LOCAL_USER_FAILED | 71 | User "nickname", SSO-ID "$ssoId", cannot be created: $e.toString(). User not found by SSO-ID "$ssoId", this shouldn't happen. |
| INVALID_ATTRIBUTION | 72 | The attribution key may not be null or empty. The colon is not allowed in the attribution key "$attributeKey". |
| NO_PERMISSION_UPDATE_ATTRIBUTION | 73 | Permission required to update a customer-specified attribution. |
| MULTIPLE_CONTRIBUTIONS_IN_BASE_POI_TYPE | 74 | Multiple contributions with the type "BasePoi" found. |
| MALFORMED_URL | 75 | InvalidDataException |
| INVALID_LOGO | 76 | No logos objects are allowed in case the given transfer objects are empty. No logos objects are expected for the given logo transfer objects. |
| LOGO_NOT_FOUND | 77 | For the logo transfer object with the name "$logoName" no mathcing logo object was found. Logo update is only allowed for existing user. |
| UPDATE_MEDIA_FOR_DIFFERNET_USER_NOT_ALLOWED | 78 | The media object "$mediaId" for the poi "$basePoiId" is owned by user "$mediaUserId()", you cannot update it. |
| DELETE_MEDIA_FAILD | 79 | Faild to delete media file "$mediaFileName". |
| POIS_CANNOT_BE_MERGED | 80 | Duplicate POI identifier $poiId cannot merge. User $userId would have more than one contribution for language "$lang", cannot merge. |
| NO_VISIBLE_CHANNEL | 81 | No channel is visible for the request. Either the customer doesn't have any visible channel, or the intersection of requested channels and customer channels is empty. |
| ERROR_DESTINATION_ALREADY_EXSISTING | 82 | The Destination :$destinationId is already existing |
| ERROR_TRAVEL_INFO_ALREADY_EXSISTING | 83 | The given travel info with destintion Id $destinationId and book isbn: $isbn is already existing. |
| MISSING_DESTINATION_INFORMATION | 84 | No destination information is given. No travelInfo is given. |
| MISSING_TRAVEL_INFO_INFORMATION | 85 | No travel region information is given. Name for the travel information is missing. |
| MISSING_BOOK_INFORMATION | 86 | No book information is given. |
| DESTINATION_NOT_FOUND | 87 | Destination with the given id $destinationId not found. No destinations found for customer with license key "$licenseKey". |
| TRAVEL_INFO_NOT_FOUND | 88 | TravelInfo with :$travelInfoId cannot be found in database Travel info with the expected id: $travelInfoId was not found in database. |
| MISSING_RELATION_INFORMATION | 89 | No destination relation is given. |
| ERROR_DESTINATION_RELATION_ALREADY_EXSISTING | 90 | The Destination relation with target destination id:$targetDestinationId and relation type: $destinationRelationType is already existing. |
| DESTINATION_RELATION_NOT_FOUND | 91 | DestinationRelation with sourceDestinationRelationId:$sourceDestinationRelationId targetDestinationRelationId:$targetDestinationRelationId and type:$destinationRelationType cannot be found in database The destination $destinationId doesn't have any CHILDREN relations. |
| MISSING_DESTINATION_ID | 92 | A destination must have an identifier. |
| MISSING_DESTINATION_ID_OR_ISBN | 93 | either book isbn or destination id missing |
| TRAVEL_INFO_EXISTING | 94 | cannot delete destination, since travel infos are available. |
| INVALID_DESTINATION_ID | 95 | A destination with the id $destinationId wasn't found. |
| NO_VISIBLE_BOOK_SERIES | 96 | No book series is visible for the request. Either the customer doesn't have any visible book series, or the intersection of requested book series and customer book series is empty. |
| ERROR_UNSUPPORTED_REQUEST | 97 | the request URL is not supported The requested filter "$filterName" isn't supported. |
| ERROR_UNSUPPORTED_PROJECTION | 98 | no projection is not supported for this request the projection is not supported for this request |
| MISSING_CHANNEL | 99 | No channel information is given. |
| CONTRIBUTION_WITH_EXTERNAL_ID_HAS_BEEN_MERGED | 100 | The contribution for the user "$contributorID" and externalId "$externalId" has been merged into the contribution with the externalId "$externalId". |
| FOLDER_WITH_EXTERNAL_ID_ALREADY_EXISTING | 101 | folder with external ID "$externalId" for user "$userID" already exists. |
| STATISTIC_NOT_FOUND | 102 | No statistic data was found for the given request. |
| ERROR_BRAND_NOT_EXSISTING | 103 | The brand with the name: "$brandName" or id: "$barndID" cannot found in database. |
| BOOKSERIES_NOT_FOUND | 104 | The bookseries for the brand "$barnd" and series "$series" cannot be found |
| INVALID_VISITED_TYPE | 105 | The visited type is required." |
| ERROR_VISITED_NOT_FOUND | 106 | The user with user Id "$userID" has no interest visited poi and no interest visited destination. The user visited relations for the destination id: "$destinationId" was not found. The user visited relations for the POI id: "$destinationId" was not found. Request visited for user id "$userID" and POI id "$poiId" was not found, the visited for this POI can not be updated. Request visited for user id "$userID" and destination id "$destinationID" was not found, the visited for this destination can not be updated. |
| ERROR_VISITED_ALREADY_EXISTING | 107 | The visited for the user Id $userID" and with POI Id: "poiID" is already existing. The visited for the user Id $userID" and with destination Id: "destinationID" is already existing. |
| ERROR_CRITIQUES_NOT_VALID | 108 | Critiques belong to more than one POI. |
| MISSING_EVENT_SERIES_INFORMATION | 109 | No eventSeries information is given. |
| ERROR_EVENT_SERIES_ALREADY_EXSISTING | 110 | The EventSeries "$externalID" is already existing |
| INVALID_EVENT_CATEGORY_ID | 111 | A event category with the id "$ventCategoryId" wasn't found. |
| EVENT_SERIES_NOT_FOUND | 112 | the eventSeries which should be deleted could not be found. EventSeries with the given ID "$eventSeriesID" not found EventSeries with the given external ID "$externalId" not found Event series with the expected id:"$eventSeriesId" was not found in database. |
| INVALID_DATE_FORMAT | 113 | date is having wrong date fromat: |
| INVALID_TIME_FORMAT | 114 | ime is having wrong date fromat: |
| MISSING_LANGUAGE_OF_BOOK | 115 | language of book is null |
| INVALID_TRAVE_INFO_TEXT_TYPE | 116 | The travel info text type may not be null. the travel info text type "$travelInfoTextType" is invalid. The requested travel info text type is not supported. |
| TRAVEL_INFO_TEXT_NOT_FOUND | 117 | Cannot find the subTextType "$subType" for text type "$travelInfoTextType" The travel info text with id "$docId" was not found in database. The travel info article with id "$travelInfoArticleId" was not found in database. |
| EVENT_NOT_FOUND | 118 | The required event with the expected id: "$eventId" was not found in database. Event with the expected id: "$eventId" was not found in database. The event with the given ID "$mediaHolderId" not found |
| ASSET_ID_ALREADY_EXISTING | 119 | a basePOi with the given assetId "$assetID" is already existing |
| FILE_NOT_FOUND | 120 | Cannot create image export directory "$outputDirAbsolutePath". The output file "$outputDirAbsolutePath" can not be found. |
| XML_STREAM_ERROR | 121 | XML Stream exception: Error by writing in XML file Cannot write footer of poi xml file. XMLStreamWriter is null. |
| COPY_MEDIA_FAILD | 122 | -- |
| INVALID_SEARCHABLE_ATTRIBUTION | 123 | Invalid attribution search key "$searchKey". |
| TOUR_WITH_EXTERNAL_ID_ALREADY_EXISTING | 124 | Tour with external ID "$ExternalId" for user "$currentUserID"already exists. |
| TOUR_NOT_FOUND | 125 | the tour with the given id "$TourId" cannot be found in database. the given child with tour id "$childTourId" is not found the expected tour with id "$tourID" cannot be found in the database the given tour to bookmark is not found the folder with the given id "$tourId" cannot be found the expected tour entry with id "$tourEntryID" cannot be found in the database The tour with the id "$tourID" was not found in database. The tour with externalId id "$externalId" was not found in database or is not visible for the current user. The tour with the id "$tourID" was not found in database or is not visible for the current user. The tour entry with the id "$tourID" was not found in database. |
| TOUR_WRONG_TPYE | 126 | the expected tour with id "$tourID" is not a tour list type, can not add the tour entry. The tour with the title "$title" doesn't have a folder type. tour with id "$tourId" is not a tourList the bookmark can not referece the other bookmark type. the expected tour with id "$tourID" is not a tour list type, can not get the tour entries. the update for tour is using the wrong type the expected tour with id "$tourID" is not a tour list type, can not update the tour entry. |
| TOUR_BOOKAMRK_INFORMATION_MISSING | 127 | For the tour bookmark a bookamrk ID is required. |
| TOUR_ENTRY_NOT_FOUND | 128 | The tour entry with the id "$tourEntryId" cannot be found. |
| BOOK_NOT_FOUND | 129 | The book can not be found. The book with the id "$bookID" is not found in DB. the book with the given name: "$bookName" brand:"$brand" language:"$language" is not found in DB. No book available on travel info. |
| INVALID_LICENSE | 130 | The license name and url is requird. |
| HOUSE_ID_ALREADY_EXISTS | 131 | A BasePoi with the given houseId "$houseId" already exists. |
| INVALID_REQUEST_PARAMETER | 132 | user parameter is not a number |
| INVALID_MEDIA_HOLDER_TYPE | 133 | The media holder id and type for add a media is required. The media holder type "$mediaHolderType" is not spported. |
| INVALID_TRAVEL_DESCRIPTION | 134 | A travel description may not be null. |
| COMMENT_ALREADY_INACTIVE | 135 | The comment with id "$commentId" is already set to inactive. |
| MEDIA_ALREADY_INACTIVE | 136 | The media with id "$mediaId" is already set to inactive. |
| DUPLICATE_NOTIFY_FOR_CLOSED_POI | 137 | The user with id "$userId" was repeat to notify the same poi id "$poiId" for closed. |
| TRAVEL_INFO_OPERATION_NOT_PERMITTED | 138 | creating with origin OUT is not permitted TravelInfo with :"$travelInfoId" cannot be found in database changing the origin of a travelInfo object is not permitted |
| INVALID_COMMENT_HOLDER_TYPE | 139 | The comment holder id and type for add a comment is required. The comment holder type "$commentHolderType" is not spported. The comment holder id and type for add a comment is required. |
| CUSTOMER_NOT_ACTIVE | 140 | customer with licenseKey:"$licenseKey" is inactive. |
| TOKEN_VERIFICATION_NOT_ALLOWED | 141 | token access not allowed for "$remoteAddress" |
| INVALID_TRAVEL_INFO_ARTICLE_TYPE | 142 | -- |
| INVALID_ES_REQUEST_PATH_TYPE | 143 | -- |
| MISSING_POLYGON_TYPE | 144 | the polyline is required when a polygonTpye is given |
| MISSING_POLYGON | 145 | The polygon for destination "$destinationId" is missing |
| ELASTIC_SEARCH_REQUEST_FAILED | 146 | exception message from ES |
| ELASTIC_SEARCH_RESPONSE_PARSING_FAILED | 147 | -- |
| MISSING_GEOCODE | 148 | geocode is missing |
| MISSING_PRODUCT_INFORMATION | 149 | No product information is given. The destination id for create a product is required. The ISBN for create a product is required. |
| PRODUCT_WITH_EXTERNAL_ID_ALREADY_EXISTING | 150 | Product with external ID "$externalId already exists. |
| MISSING_BRAND_INFORMATION | 151 | The brand information for add a product link is required to given. |
| PRODUCT_NOT_FOUND | 152 | The product with the given id "$productId" cannot be found. Product with the expected id: "$productId" was not found in database. The expected product with id "$productId" cannot be found in the database. |
| MISSING_PURCHASE_INFORMATION | 153 | No purchase is given. the purchase is not existing |
| MISSING_PURCHASE_ALREADY_EXIST | 154 | -- |
| MISSING_PURCHASE_ALREADY_EXIST_BUT_DEACTIVED | 155 | the purchase is already existing but deactived |
| MISSING_EVENT_CATEGORY | 156 | Missing event category information. |