6. Error Handling

6. Error Handling

Here are the errors you might encounter when using the API. Every error is be returned with a HTTP Status Code (see below) and a JSON body with a root node errors with more details.

CodeNameMeaning
400Bad RequestThe request cannot be processed due to a critical error, such as a bad JSON representation
401UnauthorizedThe provided credentials are missing or invalid
403ForbiddenThe provided credentials do not allow access to the resource
404Not FoundThe specified ressource could not be found
405Method Not AllowedThe ressource cannot be accessed with the current method
406Not AcceptableThe request format isn’t JSON
422Unprocessable EntityThe request has been processed but cannot be executed due to a missing required parameter or a parameter in the wrong format
429Too Many RequestsToo many requests, follow the rate limits
500Internal Server ErrorSomething went terribly wrong, please contact Pole Star
    • Related Articles

    • API – BLE Scan Callback Error

      NAOSDK integrates a new callback, onBleError, to notify the application when the SDK is unable to scan BLE measurements. Currently, this interface includes the error codes from the Android scanCallback API.” This callback is integrated into the ...
    • Integration workflow

      This page gives useful information for the project management aspect of the integration of the SDK. Planning and effort estimation for the integration of the SDK: Coding effort: 1 staff day per OS, integration support : 1 staff day Testing effort: 1 ...
    • Integration workflow and recommendations

      This page gives useful information for the project management aspect of the integration of the MQTT API. Planning and effort estimation for the integration: Coding effort: from 1 to 2 staff days, integration support : 1 staff day; Testing effort: 1 ...
    • Release 4.3

      Release V4.3.6 Date: 16 february 2017 Build: V4.3.6-R17865 Fixed Issue Geofencing handle init behavior: when a NAOGeofencingHandle is first instantiated, it should notify geofencing listener of zones the user is currently in via call to ...
    • Release 22.04 (NAO SDK 4.11.7)

      Versions Component Version NAO® Cloud 22.04 NAO® SDK iOS 4.11.7 NAO® SDK Android 4.11.7 NAO® Logger iOS 4.11.7 NAO® Logger Android 4.11.7 New Features NAO® Cloud Cisco DNA Spaces interoperability features DNA Spaces app activation using OAuth ...