Jump to content

Custom Metric Provider Problem


Recommended Posts

Hi there,
I was developing a Provisioning Module for WHMCS, and have setup most of the core functions correctly (Create, (Un)Suspend, Terminate, etc.). However, I am getting a problem trying to add metrics to the module. I have successfully added the metrics function and it is showing in the product page, however, when viewing a client with the module enabled, none of the metric data is being shown even after a refresh. Upon inspecting the request from the browser I receive this error:


{"success":false,"error":"Tenant Identifier or Server ID missing"}


It also appears the usage() and tenantUsage() functions are not being called.

I've tried contacting support and they have sent me here, does anyone know how to resolve this?


Thanks,

Matt

Link to comment
Share on other sites

  • 3 months later...
  • 2 weeks later...
On 7/24/2020 at 7:51 PM, Mike Polyakovsky said:

@MattJenkings so how did you manage to fix that? Could you please share the details as I faced exactly the same issue with metrics

Ok, I've created support ticket and they confirmed the defect and opened up a new case to have this reviewed for future releases.

Please note it doesn't work when providing customfield via ListAccountsUniqueIdentifierField meta. It works fine with both domain & username though.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated