I'm getting the follow error when trying to list invoices. I think I have the login, customer, and billing setup IDs all correct. Can someone please help?
{
"message": "The caller does not have permission",
"code": 7,
"status": "PERMISSION_DENIED",
"details": [
{
"@type": 0,
},
{
"@type": 0,
"data": [
{
"errorCode": {
"invoiceError": "UNKNOWN"
},
"message": "The error code is not in this version.",
"details": {
"unpublishedErrorCode": "InvoiceError.BILLING_SETUP_NOT_APPROVED"
}
},
{
"errorCode": {
"authorizationError": "ACTION_NOT_PERMITTED"
},
"message": "The user does not have permission to perform this action on the resource or call a method."
}
]
},
{
"@type": 0,
"data": "I2tdux_xnammkOQ6REJa-A"
}
]
}