# Meta Business SDK Crash Reports
If your app crashes due to the Meta Business SDK, a crash report will be generated by your app and sent to Meta when your app is restarted. This crash report helps Meta monitor our SDK quality and stability. The crash report contains only the cause of the crash and SDK information, but does not contain any user data. Crash reports are sent by default for all apps. To disable crash reports, add the following code to your app.
## Java
The following is the default code that enables crash reporting to Meta.
```java
APIContext context = new APIContext(ACCESS_TOKEN, APP_SECRET);
```
To disable crash reporting, add the following line below the initial `APIContext` call.
```java
APIContext context = new APIContext(ACCESS_TOKEN, APP_SECRET);
APIContext.disableCrashReport();
```
or
```java
APIContext context = new APIContext(ACCESS_TOKEN, APP_SECRET, APP_ID, false);
```
## JavaScript (Node.JS)
The following is the default code that enables crash reporting to Meta.
```js
FacebookAdsApi.init(accessToken)
```
To disable crash reporting, add `crash_log=false` to the `FacebookAdsApi.init` function.
```js
FacebookAdsApi.init(accessToken, crash_log=false)
```
## PHP
The following is the default code that enables crash reporting to Meta.
```php
Api::init($app_id, $app_secret, $access_token);
```
To disable crash reporting, add `false` to the `Api::init` function.
```php
Api::init($app_id, $app_secret, $access_token, false);
```
## Python
The following is the default code that enables crash reporting to Meta.
```python
FacebookAdsApi.init(access_token=access_token, debug=True)
```
To disable crash reporting, add `crash_log=False` to the `FacebookAdsApi` function.
```python
FacebookAdsApi.init(access_token=access_token, debug=True, crash_log=False)
```
## Ruby
The following is the default code that enables crash reporting to Meta.
```ruby
FacebookAds.configure do |config|
config.access_token = ''
config.app_secret = ''
end
```
To disable crash reporting, add `config.crash_logging_enabled = false` to the `FacebookAds.configure` function.
```ruby
FacebookAds.configure do |config|
config.access_token = ''
config.app_secret = ''<
config.crash_logging_enabled = false
end
```