---
tags: locaweb
image: https://www.locaweb.com.br/images/open-graph.jpg
---
# [EAAS-2161](https://locaweb.atlassian.net/browse/EAAS-2161)
### Tabela Codigos Erro
Billing 1500
Catalog 2500
Customer 3500
Coupon 4500
Pricing 5500
Payment 6500
## Exceções de Serviços terceiros
### Billing - BIL5XX
* BillingServiceException
* BillingServiceUnprocessableEntityException ()
* CustomerBillingInfoNotFoundException (404)
### Pricing
* PricingNotFoundException (500)
### Payment
* PaymentServiceException (Scrooge)
* PaymentServiceCreateInvoiceException (500) ? PAY555
* PaymentServiceCreateChargeException (500) ? PAY556
* ChargeOrderFailedException (500) PAY333
### Catalog (Cardápio) - CAT5XX
* CatalogServiceInvalidItemException (412)
### Customer Service (Capi) - CUS5XX
CUSXXX
* CustomerNotFoundException (412) | CUS404
* CustomerServiceException (500)
ThirdPartyServiceException
* ServiceUnavailableException (500)
*
## Exemplos:
```json
{
"type": "",
"status": 500,
"errorId": "PAY503",
"title": "Payment service unavailable",
"service": "zenon",
"detail": ".........."
}
```
```json
{
"type": "",
"status": 500,
"errorId": "PAY333",
"title": "Failed to charge order 33511",
"service": "zenon",
"detail": ".........."
}
```
```json
{
"type": "",
"status": 500,
"errorId": "PAY333",
"title": "Failed to charge order '33511'",
"service": "zenon",
"detail": ".........."
}
```
## Tabela Atualizada
### Branch:
https://code.locaweb.com.br/enterprise-applications/bluebird/commits/ft/change-thirdparty-service-exception
### Billing
BIL403 Customer's billing info return forbidden operation
BIL404 Customer's billing info not found
BIL412 Customer's billing info business validation
BLB422 Unprocessable Entity
BIL500 Unexpected error while getting customer's billing info
### Catalog (Cardápio)
CAT403 Catalog's service return forbidden operation
CAT404 cart '{cart.Id}' not found.
CAT412 Catalog's service business validation
CAT422 UnprocessableEntityException
### Coupon Service
COU412 Preconditional Failed
COU500 Something went wrong when validate coupon
### Customer Service (Capi)
CUS403 Customer's info return forbidden operation
CUS404 Customer's info not found
CUS412 Customer's info business validation
CUS500 Something went wrong while trying to find customer by id: {customerId}
### Payment
PAY554 Failed to charge customer '{customerId}' for the purchase of order '{orderId}
PAY555 Something went wrong trying to create a invoice
PAY556 Something went wrong while trying to create a charge
### Pricing
PRC404 Pricing for item with cartId '{cart.Id}' could not be calculated.