Skip to main content

Get 50% OFF QuickBooks for 3 months*

Buy now
Switch to QuickBooks and 70% off for 3 Months
July 21, 2025
Question

An application error has occurred while processing your request, Detail: System Failure Error: java.lang.NullPointerException, Element: Not provided

  • July 21, 2025
  • 1 reply
  • 8 views

I am trying to `https://sandbox-quickbooks.api.intuit.com/v3/company/9341453856788467/purchase` create a Credit Card Credit using the api but I am getting an error message:

```An application error has occurred while processing your request, Detail: System Failure Error: java.lang.NullPointerException, Element: Not provided```

```
{
"Line": [
{
"DetailType": "AccountBasedExpenseLineDetail",
"Amount": 5.4,
"Description": "Uber 063015 SF**POOL**",
"AccountBasedExpenseLineDetail": {
"AccountRef": {
"value": "7"
}
}
}
],
"TxnDate": "2025-06-18",
"PrivateNote": "Uber 063015 SF**POOL**",
"PaymentType": "CreditCard",
"AccountRef": {
"value": "41"
},
"Credit": true
}
```

1 reply

JoesemM
QuickBooks Team
July 21, 2025

Our Intuit Developer team can help you with the application error you've encountered, domgolonka.

 

We have a dedicated forum for handling API concerns in QuickBooks Online where developers can discuss programming and syncing-related issues.

 

Here's how:

 

  1. Go to the Intuit Developer Support.
  2. Select QuickBooks Online under What do you need help with?
  3. Click Ask a question.
  4. Log into your existing Intuit Developer Account or create a new one. 
  5. When prompted to sign in, log in to your Intuit account.
  6. Enter a short description of your concern and click Ask

 

You can also visit the API Docs & Tools menu to find API topics that'll help you in completing your other QuickBooks tasks.

 

Drop your comment below if you have any other QuickBooks concerns. I'll be around to lend a helping hand.