Most Metrc errors can be summarized by "The API key was not provided by an Owner or Manager with sufficient permissions". Shield Assure displays the messages returned by the Metrc API call to provide additional insight.
Remember - Metrc API key permissions mirror the Metrc user permissions. It is best to have the Metrc admin or owner provide the API key.
Error Message | Summary Explanation | Additional Information |
API Key Not Authorized for Sales Receipts, but authorized for basic data | The API Key does not have proper permissions needed for our Metrc Integration. | This key does not have permissions to provide daily sales totals, so we cannot provide daily or monthly sales totals. |
Invalid license, trace key or insufficient permissions for wholesale API request(s) | The API Key does not have proper permissions needed for our Metrc Integration. | This message is for wholesale licenses. |
Delivery error: HTTP Error, reason: Unauthorized; status: 401 - Unauthorized | This is a non-fatal error - meaning we will provide daily sales totals, but Metrc has recorded that this licenses may make deliveries to patients OR consumers and the API key does not have permissions to retrieve those sales totals. | |
API key not authorized for basic data collection | The API Key does not have proper permissions needed for our Metrc Integration. | The company owner or Metrc system admin needs to retrieve (or generate) the API key, as the person who generated the prior key did not have correct permissions. |
Invalid license, trace key or insufficient permissions for receipts API request | The API Key does not have proper permissions needed for our Metrc Integration. | The company owner or Metrc system admin needs to retrieve (or generate) the API key, as the person who generated the prior key did not have correct permissions. |
API Key is valid, however license number XXXXXX is not associated with this Metrc API Key. | The key is a valid key for a different license, but this license is not associated with that key. | The user needs to access Metrc and get the correct API key for that specific license. |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article