chargebee / chargebee-ruby

Ruby library for the Chargebee API.
https://apidocs.chargebee.com/docs/api?lang=ruby
MIT License
32 stars 60 forks source link

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

Closed navidmatin closed 2 years ago

navidmatin commented 2 years ago

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?

navidmatin commented 2 years ago

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