Brocade Network Advisor REST API Guide (Supporting Network Advisor 12.3.0) User Manual
Page 45

Brocade Network Advisor REST API Guide
31
53-1003160-01
Handling errors
3
For successful operations the status code is usually 200 (OK) or 204 (No Content). In the case of
an error, depending on the reason for failure, any of the HTTP status codes may be returned.
However, in the case of an API error, the HTTP status code is 500 (Internal Server Error). More
details on the server error can be obtained from the RSException embedded in the HTTP response.
describes the RSException error codes.
TABLE 10
Error codes
Error code
Error message
1000
Interval server error
1001
Invalid filter type
1002
Invalid filter operation
1003
Invalid filter value
1004
Filter value is null or empty
1005
Invalid key property format
1006
Key property is null or empty
1007
Key property number format exception
1008
Mismatch in number of elements in filter properties
1009
Input request object is null
1010
Invalid request object
1011
Filter value number format exception
1012
Exception while getting information from database
1013
Key parameter is null or empty
1014
Adapter error while marshalling bound type to value type
1015
Adapter error while unmarshalling value type to bound type
2000
Fabric not found
2001
Switch not found
2002
Resource group not found
2003
Port not found
2004
Blade not found
2005
End device not found
2006
Connection not found
2007
Node not found
2008
End device connection not found
2009
Host not found
2010
HBA not found
2011
Access Gateway not found
2012
Flow Definition not found
2013
Flow not found
3001
Invalid zone name prefix
3002
Initiator is null or empty