# Troubleshooting

<details>

<summary>The <code>createPasspointProfile()</code> or <code>createWPA2EnterpriseProfile()</code>returns success but I'm not able to connect to the network</summary>

Assuming the network is configured correctly to support WPA2-enterprise and / or passpoint (check before proceeding), to follow this steps:

* In the Android device, disable "autoconnect" to all the wifi networks nearby you
* Switch off the wifi, wait 5 seconds, switch on the wifi
* You should connect automatically to the WPA2-ent or Passpoint network&#x20;

</details>

<details>

<summary>I/Cloud4WiSDKWiFi: Failed while adding to C4WIMobileSDKContentProvider: Unknown URL content://xxx.yyy.zzz/wifi_profiles</summary>

In the console logs you get this message

`I/Cloud4WiSDKWiFi: Failed while adding to C4WIMobileSDKContentProvider: Unknown URL content://xxx.yyy.zzz/wifi_profiles`

It is a warning returned by Android and refers to the feature of interlinking apps.

If you don't use the interlinking apps feature can ignore the warning.

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://create.cloud4wi.ai/dev-hub/wifi-sdk/integrating-the-sdk/android/troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
