# BillingResponseCode.DEVELOPER_ERROR: Invalid arguments provided to the API

**Code:** `Play Billing: DEVELOPER_ERROR (5)` · **Category:** Android · **Seen on:** Android, Kotlin

The billing call used invalid arguments or an app Play doesn't recognise.

## Meaning

Typical causes: the app isn't uploaded to a Play testing track, the package/signing doesn't match, a product ID doesn't exist or you used an outdated SKU API. Test with an internal-testing build installed from Play.

## Common causes

- App not on a Play track
- Product ID or type wrong
- Signed with a different key

## Quick fix

1. Upload to internal testing and install from Play
2. Check product IDs and type
3. Use the Play-signed build

## Detailed fix by platform

### Kotlin

1. `QueryProductDetailsParams.Product.newBuilder().setProductId("premium").setProductType(ProductType.INAPP).build()`

## How to diagnose

1. **Track** — uploaded?
2. **Product** — active?
3. **Key** — same?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/android/play-billing-developer-error)
