Forum

This content is now out of date.

Visit Our Community

Web Services Error codes

We have a web service client for changing the yellowfin password which has worked with versions 4 & 5. We have just tried with version 6 with no success.

We are getting an errorCode of 38. I have been unable to find a list of error codes returned by the web services apart from an old one that goes to code 30.

Were can I find an up to date list of error codes? I can't see an Integration manual for version 6 but the error codes are not in the earlier manuals.

Returning another field along with the that gives a short description for the error would also be nice.

Thanks
Hi Paula,

Here is the up to date list of web service errors:

[code]/**
* Error code indicating an unknown error occurred.
*/
public static final int UNKNOWN_ERROR = -2;

/**
* Error code indicating the client cannot connect to the web service.
*/
public static final int CANNOT_CONNECT = -1;

/**
* Error code indicating success.
*/
public static final int NO_ERROR = 0;

/**
* Error code indicating the user could not be authenticated.
*/
public static final int USER_NOT_AUTHENTICATED = 1;

/**
* Error code indicating the user does not have access to web services.
*/
public static final int NO_WEBSERVICE_ACCESS = 2;

/**
* Error code indicating the person input parameter was not specified.
*/
public static final int PERSON_REQUIRED = 3;

/**
* Error code indicating an error occurred creating a user.
*/
public static final int COULD_NOT_CREATE_PERSON = 4;

/**
* Error code indicating an error occurred reloading the licence.
*/
public static final int COULD_NOT_RELOAD_LICENCE = 5;

/**
* Error code indicating a user already exists with the userid, in a call to create a new user.
*/
public static final int LOGIN_ALREADY_IN_USE = 6;

/**
* Error code indicating an error occurred deleting a user.
*/
public static final int COULD_NOT_DELETE_PERSON = 7;

/**
* Error code indicating the specified user could not be found.
*/
public static final int COULD_NOT_FIND_PERSON = 8;

/**
* Error code indicating the licence is breached, or that the requested action would breach the licence.
*/
public static final int LICENCE_BREACH = 9;

/**
* Error code indicating an error occurred loading report access.
*/
public static final int COULD_NOT_LOAD_REPORT_ACCESS = 10;

/**
* Error code indicating an error occurred loading reports for a user.
*/
public static final int COULD_NOT_LOAD_REPORT_LIST = 11;

/**
* Error code indicating the specified group could not be found.
*/
public static final int COULD_NOT_FIND_GROUP = 12;

/**
* Error code indicating a group already exists with the group name, in a call to create a new group.
*/
public static final int GROUP_EXISTS = 13;

/**
* Error code indicating the report passed was null, in a call to load a BIRT report.
*/
public static final int BIRT_OBJECT_NULL = 14;

/**
* Error code indicating the report passed was empty, in a call to load a BIRT report.
*/
public static final int BIRT_OBJECT_NO_DATA = 15;

/**
* Error code indicating the data source was not specified or could not be found, in a call to load a BIRT report.
*/
public static final int BIRT_SOURCE_MISSING = 16;

/**
* Error code indicating an error occurred saving the BIRT report.
*/
public static final int BIRT_COULD_NOT_SAVE = 17;

/**
* Error code indicating an error occurred saving the BIRT report.
*/
public static final int BIRT_COULD_NOT_SAVE_BIRT_FILE = 18;

/**
* Error code indicating an error occurred updating a user's password.
*/
public static final int COULD_NOT_UPDATE_PASSWORD = 19;

/**
* Error code indicating an unknown web service function was requested.
*/
public static final int UNKNOWN_WEBSERVICE_FUNCTION = 20;

/**
* Error code indicating an invalid client reference id was specified.
*/
public static final int INVALID_CLIENT_REFERENCE = 21;

/**
* Error code indicating a client already exists with the client reference id, in a call to create a new client.
*/
public static final int CLIENT_EXISTS = 22;

/**
* Error code indicating the report could not be found.
*/
public static final int COULD_NOT_FIND_REPORT = 23;

/**
* Error code indicating the requested report is in draft mode.
*/
public static final int REPORT_IS_DRAFT = 24;

/**
* Error code indicating the specified user could not be authenticated.
*/
public static final int COULD_NOT_AUTHENTICATE_USER = 25;

/**
* Error code to indicate that unsecure logon has not been enabled at the database level
*/
public static final int UNSECURE_LOGON_NOT_ENABLED = 26;

/**
* Error code to indicate that the role assigned to a user during create or alter is invalid.
*/
public static final int ROLE_NOT_FOUND = 27;

/**
* Error code to indicate that the a persons favourites (and inbox contents) could not be loaded.
*/
public static final int COULD_NOT_LOAD_FAVOURITES = 28;

/**
* Error code to indicate that report or other webservice response has breached a set threshold.
*/

public static final int RESPONSE_IS_TOO_LARGE = 29;

/**
* Error code indicating the data source was not specified or could not be found.
*/
public static final int SOURCE_NOT_FOUND = 30;

/**
* Error code indicating that no recipients were provided for distribution.
*/
public static final int EMPTY_RECIPIENT_LIST = 31;

/**
* Error code indicating that no a report broadcast failed
*/
public static final int BROADCAST_FAILED = 32;

/**
* Error code indicating that filter values could not be retrieved.
*/
public static final int FILTERVALUES_FAILED = 33;

/**
* Error code indicating that a client org call was made, but client orgs functionality is disabled.
*/
public static final int CLIENT_ORGS_DISABLED = 34;

/**
* Error code indicating that a client org call was made, but client orgs functionality is disabled.
*/
public static final int DASHBOARD_TAB_NOT_FOUND = 35;

/**
* Error code indicating that a schedule record passed was null.
*/
public static final int SCHEDULE_NULL = 36;

/**
* Error code indicating that a passed status code was invalid
*/
public static final int UNKNOWN_STATUS_CODE = 37;

/**
* Error code indicating that password requirements were not met.
*/
public static final int PASSWORD_REQUIREMENTS_NOT_MET = 38;

/**
* Error code indicating a user has already attempted to login the maximum times unsuccessfully
*/
public static final int LOGIN_MAXIMUM_ATTEMPTS = 39;
[/code]

Let me know if you need more information about any of these errors.

Regards,
Steven
Hi,

I'm with the error number 42, you guys can help me with this? Can pass the table with all errors?
Hi,

Sorry to see you have run into an error.
The error you're facing is related to the export file being based off a different version of YF you are importing into.
You should ensure that both instances of YF are using the same version of YF, as it's the only way to ensure that all features used in the report will function the same in the other instance.

More information on getting a list of error codes can be found here:
How to get a complete list of all web service error codes

Please let us know if you have any further questions on this issue you have faced.

Regards,
David
The YF we are using has the same configuration:

System Information
Application Version: 7.1
Build: 20150325
Java Version: 1.7.0_80
Operating System: Windows Server 2008 R2 6.1 (amd64)

How can we receive error code 42?
Hi,

Can you please try importing this report via the UI and let me know if any warnings are displayed?
Just take a screenshot of the import summary screen.

Thanks,
David