- General
- The response to failed request
- Error message categories
- General instructions when error messages occur
General
Send one message at a time and wait for a response before sending the next message. Overlapping messages to the same customer environment cause different errors. We recommend that the timeout for messages is at least 120 000 ms. This helps in avoiding unnecessary errors.
Log and follow Web Service Interface traffic, including errors. The requests should be recorded transaction based. If the Web Service Interface does not respond, it is recommended to try the connection a few times again and then take a longer break. Controlling errors should be done in the external system and the error description received from Netvisor's Web Service Interface should be saved and shown as it is.
If you need help in interpreting error messages, you can contact our partner support at tuki.netvisor@visma.com.
The response to failed request
If there are errors in handling the request, the Web Service Interface returns FAILED in ResponseStatus-element.
Here's an example of a response to a failed request:
FAILED
AUTHENTICATION_FAILED :: Integration keys are not valid. Please check the keys specific to the user and partner.
01.01.2018 12:00:00
Error message categories
AUTHENTICATION_FAILED
Authentication of the request failed. Check the credentials, HTTP-headers and MAC-calculation.
INVALID_DATA, INVALID_DATA_SIZE
The sent data is invalid or of wrong size. Check the material and given parameters.
DUPLICATE_DATA
The sent data already exists in Netvisor. Check the material and given parameters.
REQUEST_NOT_UNIQUE
The transaction ID has already been used. The ID must change in every request.
PERIOD_LOCK
The accounting period is locked and material cannot be imported.
SERVICE_ACCESS_ERROR
No access rights or the application where the material is imported/retrieved is not in use.
SYSTEM_MAINTENANCE
System is under maintenance. During maintenance requests cannot be made.
TECHNICAL_ERROR
Other error caused by a technical error. The response message returns only error category and error identifier without any further explanation. Technical errors should also be logged. Using the error identifier, our partner support and maintenance can help in figuring out the error.
General instructions when error messages occur
INVALID_DATA :: Data form incorrect:. XML message validation failed: Could not validate xml
Please read the more detailed description of the error from the error message. Make sure the syntax is correct:
- The given XML elements are in the same order as in the resource DTD.
- All compulsory elements are given.
- All compulsory elements have a value.
- All tags have a counterpart.
Errors occurring in importing pay materials and working hours data
Importing working hours data, resource: workday.nv
Data form incorrect:. Entry type not found with given allocation data
This means that the material includes an entry type that cannot be found in Netvisor. In Netvisor, entry types can be numbered from Pay > Payroll settings > Entry types. By clicking the name of the entry type, a menu opens where the entry type number is entered in the Number field.
Importing pay period specific entry row, resource: payrollperiodcollector.nv
Data form incorrect:. Salary type not found with given allocation data.
Netvisor must have an entry type with a number defined in the working hours import (e.g. 123 -> add an entry type with number 123). The entry type can be created in the user interface, there is a separate instruction for creation: Entry types. Once the data has been imported, check the formulas for the entry type to ensure that the imports appear on the payroll for payment. We recommend testing this in the test environment.
Importing sales invoice:
INVALID_DATA :: Data form incorrect:. VAT code cannot be retrieved from posting suggestion because no posting suggestion has been given.
The error appears because VAT code is not given in the invoice row. When the VAT code is not given, the system tries to find VAT code from the account suggested in the element accountingAccountSuggestion. When no account is given in that element, an error is returned. VAT code should always be given in the invoice row. Also note that the VAT percentage should also be given.
AUTHENTICATION_FAILED
AUTHENTICATION_FAILED :: Integration keys are not valid. Please check the keys specific to the user and partner.
AUTHENTICATION_FAILED :: Integration keys are not valid. Please check the keys specific to the user and partner.
a) The user (userID) given in HTTP-header 'X-Netvisor-Authentication-CustomerId' does not exist or is not active.
b) The partner (partnerID) given in HTTP-header 'X-Netvisor-Authentication-PartnerId' is not found.
SERVICE_ERROR
SERVICE_ACCESS_ERROR :: Service error. The company has restricted access to the interface resource: X
SERVICE_ACCESS_ERROR :: Service error. The company has restricted access to the interface resource: X
The API interface resource 'X' mentioned in the error message is not allowed in Netvisor, enable the API interface resource as instructed
TECHNICAL_ERROR
TECHNICAL_ERROR :: Error when handling material:. Error identifier: 000001
An error in handling material caused by some other technical error. Contact partner support (tuki.netvisor@visma.com) for help in solving the error.
Authentication failed
Company not found or no access granted. See documentation.
This error is returned when the user doesn't have access rights to the target company's Netvisor environment or the company is no longer active in Netvisor. In this case, make sure if the user has access rights to the target company's Netvisor environment and if the company is still active in Netvisor.
Did you find it helpful? Yes No
Send feedback