chargebee / chargebee-ruby

Ruby library for the Chargebee API.

Home Page:https://apidocs.chargebee.com/docs/api?lang=ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This API operation is not enabled for this site for syncing invoices

navidmatin opened this issue · comments

Hey all,
I'm getting the following error after hitting the invoice.sync_usages:

{
  "message":"This API operation is not enabled for this site. Please contact support@chargebee.com to get this enabled",
  "api_error_code":"configuration_incompatible",
  "error_code":"api_restricted",
  "error_msg":"This API operation is not enabled for this site. Please contact support@chargebee.com to get this enabled",
  "http_status_code":400
}

There is nothing about this endpoint being a special endpoint in the documentation https://apidocs.chargebee.com/docs/api/invoices?prod_cat_ver=2&lang=curl#sync_usages so I was wondering if I'm using it wrong or missing something else?

This was something that we reached to chargebee support and they enabled this API for us.