# Status Codes

The SDK will return status codes according to different scenarios. The code itself is an Integer but you can easily get a description of the code that will give you some context.&#x20;

The following example illustrates when you receive a code *5223* which means that the SDK has been initialized successfully but it doesn't have permissions to access location services which is very important for using the full features of the SDK.&#x20;

```swift
HabitStatusCodes.getDescription(code: 5223)

// Returns a string with the description

// "HabitSDK has been initialized successfully but to take 
// advantage of the full features location permissions must
// be set to 'Always allow'."
```
