This section describes the error messages which may be returned by the different API methods. For any error message returned, the following applies:
Not Authorized
, that means the access token has expired. In this case, a new token needs to be generated.Invalid client
, make sure that the Client id and Client secret are valid for the partner.Error Message Request processed successfully. Returning x of y devices.
Here x is the exact number of devices if the number is less than 10k, and 10k if the number is more than 10k. And y is the exact number of devices.
Error Message INVALID-CUSTOMER-ID-101
Invalid Customer Id.
The customer id passed is not valid.
Error Message INVALID-INVENTORY-ID-102
Invalid Inventory Id.
The inventory id passed is not valid.
Error Message EMPTY-CUSTOMER-ID-103
Customer Id needs to be provided in the input.
The customer id is not passed.
Error Message EMPTY-INVENTORY-ID-104
Inventory Id needs to be provided in the input.
The inventory id is not passed.
Error Message INVALID-DEVICE-ID-105
Invalid Device ID.
The device id passed is not valid.
Error Message EMPTY-PARTY-ID-106
Global Ultimate PartyId is not available in the request header.
If you encounter this error please contact Cisco Technical Support (http://www.cisco.com/cisco/web/support/index.html). When opening a case, Select Product: Smart Services Capabilities / Smart API.
Error Message XML-DATE-100
Error while parsing date into XMLGregorianCalendar.
Invalid Date. Please provide date in XMLGregorianCalendar format (e.g. 2007-04- 05T00:00:00.000).
Error Message GUID-CODE-101
Invalid Global Ultimate Party Id.
If you encounter this error please contact Cisco Technical Support (http://www.cisco.com/cisco/web/support/index.html). When opening a case, Select Product: Smart Services Capabilities / Smart API.
Error Message ACS-100
Problem was encountered while fetching access privileges. Cannot return data for this service at this time. Try again later.
If you encounter this error please contact Cisco Technical Support (http://www.cisco.com/cisco/web/support/index.html). When opening a case, Select Product: Smart Services Capabilities / Smart API.
Error Message INVALID-ERP-PARTY-102
Given Customer Id does not belong to Global Ultimate PartyId.
The customer id passed is not valid.
Error Message INVALID-INVENTORY-ERP-PARTY-102
Given Inventory does not belong to Customer Id.
The inventory id passed does not belong to Customer Id passed.
Error Message INV-INVALID-CUSTOMERID-101
Invalid Customer Id.
The customer id passed is not valid.
Error Message NO-INV_DATA-10
No Partner available for given input parameter(s).
No Partner is available for the passed input parameter(s).
Error Message SQL-101
Problem was encountered while fetching data from data base.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support (http://www.cisco.com/cisco/web/support/index.html). When opening a case, Select Product: Smart Services Capabilities / Smart API.
Error Message DB-101
Lost access to the database.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support (http://www.cisco.com/cisco/web/support/index.html). When opening a case, Select Product: Smart Services Capabilities / Smart API.
Error Message MESSAGE_TYPE_FAILURE
The response failed for the API request.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support (http://www.cisco.com/cisco/web/support/index.html). When opening a case, Select Product: Smart Services Capabilities / Smart API.
Error Message REQUEST_FAILURE_MESSAGE
No data is available for given input parameters.
Error Message EXCEED-MAX-LIMIT-101
API cannot respond due to the big size of the inventory.
Error Message MAX_SIZE_EXCEED_DTL
API cannot respond due to the big size of the inventory.
Error Message MAX_SIZE_EXCEED_CAUSE
Inventory size is too big.
Error Message invalid_client
ERR_403_DEVELOPER_INACTIVE
Make sure that the Client id and Client secret are valid for the partner.
Error Message INVENTORY-SVC-CODE-103
Inventory Service Exception.
If you encounter this error please contact Cisco Technical Support (http://www.cisco.com/cisco/web/support/index.html). When opening a case, Select Product: Smart Services Capabilities / Smart API.
Error Message INVALID-PAGE-START-101
Please enter a valid pageStart between x and y.
If any number which is not between 1 and <pageTotal> is passed into the pageStart input parameter, the message ‘Please pass a valid pageStart between 1 and <pageTotal>’ is returned in the response. Pass a valid pageStart parameter.
Error Message INVALID-PAGESTART-ID-108
If any value other than a number is passed in the pageStart input parameter, the message ‘Invalid pageStart’is returned in the response. Pass a numeric value.
Please pass a valid pageStart between 1 and <pageTotal>.
Error Message INVALID-CUSTOMER-ID-101
Invalid Customer Id.
The customer Id passed is not valid.
Error Message INVALID-INVENTORY-ID-102
Invalid Inventory Id.
The inventory Id passed is not valid.
Error Message INVALID-INVENTORY-ERP-PARTY-102
Given Inventory does not belong to Customer Id.
The inventory Id passed does not belong to Customer Id passed.
Error Message INVALID-PAGE-START-101
Please enter a valid pageStart between x and y.
If any number which is not between 1 and <pageTotal> is passed into the pageStart input parameter, the message ‘Please pass a valid pageStart between 1 and <pageTotal>’ is returned in the response. Pass a valid pageStart parameter.
Error Message INVALID-PAGESTART-108
If any value other than a number is passed in the pageStart input parameter, the message ‘Invalid pageStart' is returned in the response. Pass a numeric value.
Error Message CONTRACT-INVALID-DEVICE-CODE-100
Invalid Device Id.
The device id passed is not valid.
Error Message CONTRACT-1001
Problem encountered while fetching Contract Coverage. Please contact Cisco Technical Support (http://www.cisco.com/cisco/web/support/index.html).
'Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support. (http://www.cisco.com/cisco/web/support/index.html). When opening a case, select Product: Smart Services Capabilities / Smart API.
Error Message NPDR-SVC-CODE-103
Error while fetching the NPDR information.
Error Message NPDR-DATE-CODE-101
The upload Date and Time format is incorrect.
Please pass the correct format for uploadDateAndTime ( e.g. 2007-04-05T00:00:00.000).
Error Message INVALID-APPLIANCE-ID-101
Invalid Appliance Id.
Re-enter proper Appliance ID.
Error Message INVALID-ALERT-ID-101
Invalid Alert ID.
The alert id passed is not valid.
Error Message FN-INVALID-ID-101
ERROR Invalid FN ALERT Id.
Invalid field notice ID. Please pass correct 'fnId'.
Error Message FN-SVC-CODE-103
FN SERVICE EXCEPTION.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support. (http://www.cisco.com/cisco/web/support/index.html). When opening a case, select Product: Smart Services Capabilities / Smart API.
Error Message PSIRT-101
Error Fetching PSIRT Alerts for device/inventory.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support. (http://www.cisco.com/cisco/web/support/index.html). When opening a case, select Product: Smart Services Capabilities / Smart API.
Error Message PSIRT-102
Please check Database Connection , it is null.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support. (http://www.cisco.com/cisco/web/support/index.html). When opening a case, select Product: Smart Services Capabilities / Smart API.
Error Message PSIRT-GETPSIRT-104
ERROR while getting PSIRT Information.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support. (http://www.cisco.com/cisco/web/support/index.html). When opening a case, select Product: Smart Services Capabilities / Smart API.
Error Message PSIRT-SVC-CODE-103
PSIRT SERVICE EXCEPTION.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support. (http://www.cisco.com/cisco/web/support/index.html). When opening a case, select Product: Smart Services Capabilities / Smart API.
Error Message PSIRT-ID-100
PSIRT IDs are not valid.
Invalid PSIRT ID. Please pass correct 'psirtId'.
Error Message IS-101
Error Fetching IS Alerts for device/inventory.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support. (http://www.cisco.com/cisco/web/support/index.html). When opening a case, select Product: Smart Services Capabilities / Smart API.
Error Message IS-SVC-CODE-103
IS Service Exception.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support. (http://www.cisco.com/cisco/web/support/index.html). When opening a case, select Product: Smart Services Capabilities / Smart API.
Error Message EMPTY-ISALERT-ID-102
IS AlertIds need to be provided in the input.
Error Message INVALID-ALERT-ID-101
Invalid Alert ID
The alert id passed is not valid.
Error Message SW-101
Error Fetching SW Alerts for device/inventory.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support. (http://www.cisco.com/cisco/web/support/index.html). When opening a case, select Product: Smart Services Capabilities / Smart API.
Error Message HW-SVC-CODE-103
SW SERVICE EXCEPTION.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support. (http://www.cisco.com/cisco/web/support/index.html). When opening a case, select Product: Smart Services Capabilities / Smart API.
Error Message EMPTY-SWALERT-ID-102
softwareEoXId needs to be provided in the input.
Error Message HW-101
Error Fetching HW Alerts for device/inventory.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support. (http://www.cisco.com/cisco/web/support/index.html). When opening a case, select Product: Smart Services Capabilities / Smart API.
Error Message HW-SVC-CODE-103
HW SERVICE EXECEPTION.
Internal Server Error. Please retry. If the problem still persists please contact Cisco Technical Support. (http://www.cisco.com/cisco/web/support/index.html). When opening a case, select Product: Smart Services Capabilities / Smart API.
Error Message EMPTY-HWALERT-ID-102
HwEox AlertId(s) need to be provided in the input.
Error Message INVALID-ALERT-ID-101
Invalid Alert ID.
The alert id passed is not valid.
Error Message EMPTY-HWMIGRATION-ID-107
Hw Migration Ids need to be provided in the input.
This table describes the common message responses returned by the different API methods.
Common message responses: | |
---|---|
REQUEST_SUCCESS_MESSAGE | Request processed successfully. |
REQUEST_FAILTURE_MESSAGE | No data available for given input parameters. |
MESSAGE_TYPE_SUCCESS | Request processed successfully. |
MESSAGE_TYPE_FAILURE | FAILURE. |
DEVICE_ALERT_SUCCESS | Successfully got the alerts ids. |
DEVICE_ALERT_FAILURE | No alerts present for the given parameters. |
ALERT_DETAILS_SUCCESS | Successfully got the Alert Details. |
ALERT_DETAILS_FAILURE | Alert Details are not available for the given alert ids. |
MIGRATION_PID_DETAIL_FAILURE | Migration Pid Details are not available for the given alert ids. |
MIGRATION_PID_DETAIL_SUCCESS | Successfully got the Migration Pid Details. |
MAX_SIZE_EXCEED_CODE | EXCEED-MAX-LIMIT-101. |
MAX_SIZE_EXCEED_DTL | API cannot respond due to big size of inventory. |
MAX_SIZE_EXCEED_CAUSE | Inventory size is too big. |
Request processed successfully. Returning x of y devices | Here x is the exact number of devices, if the number is less than 10k, and 10k if the number is more than 10k, and y is the exact number of devices. |
The API Service Downtime Message will be returned when the PSS API services are unavailable due to scheduled maintenance.
The affected APIs and downtime duration included in the message will be returned to the calling application.
<API_MESSAGE>
<SCHEDULED_MAINTENANCE_503>
<API_EFFECTED>getIS</API_EFFECTED>
<API_EFFECTED>getISDetails</API_EFFECTED>
<API_EFFECTED>getPSIRT</API_EFFECTED>
<API_EFFECTED>getPSIRTDetails</API_EFFECTED>
<START_TIME>12/22/2013 10:00AM PST</START_TIME>
<END_TIME>12/22/2013 02:00PM PST</END_TIME>
<MESSAGE>PSS APIs are unavailable from start-time to end-time.</MESSAGE>
</SCHEDULED_MAINTENANCE_503>
</API_MESSAGE>
Scheduled_Maintenance_503
Parameter | Type | Length | Description |
---|---|---|---|
API_EFFECTED | string | 100 | The API service effected by the downtime. |
START_TIME | string | 50 | The start time of service unavailability. |
END_TIME | string | 50 | The end time of service unavailability. |
MESSAGE | string | 10000- 15000 |
Message Content:PSS APIs are unavailable from start-time to end-time .Where start time and end time may be either PST or PDT. |
©2016 Cisco Systems, Inc. · All Rights Reserved · This site is Cisco Confidential. For Cisco Field and Channel Partner use only. Not for public distribution.