No Pendo API key configured. Make sure to call pendo.initialize() with a valid Pendo API key.

After installing the "snippet" into our application, pendo.validateEnvironment() returns the "No Pendo API key configured" message.

The standard advice for this error is "Often, it means that one or more variables being passed to the initialization code is unavailable when you call pendo.initialize().". As an experiment, I hard coded some simple metadata, account/visitor id's only, so I have no variables and therefore there is nothing on my end that is unavailable. But the error persists.

What does the sentence "Make sure to call pendo.initialize() with a valid Pendo API key." mean? As far as I can tell, pendo.initialize() is called with a JSON object defining the metadata: no API key involvement. Should the metadata include a field for the API key? Is there an additional parameter on the function for the API Key?

Trying to understand what it means to have an "unconfigured" API key: is it possible this is an Admin/Settings setup issue?

0

コメント

2件のコメント
  • The snippet you add should reference an API key unique to your app subscription, and it's found in Subscription settings. Are you installing using the snippet on the Install Settings tab? That includes your key for you :)

    0
  • I don't have access to the Install Settings, but I believe that the person who does gave me the correct snippet. There is a unique key in the JavaScript, so I trust that it is "valid". Others are performing the "configuration" in Pendo so I have to trust that is correct as well. 

    Do you know if there is such a thing as a "valid" API key that is "unconfigured"?

    0

サインインしてコメントを残してください。

お探しのものを見つけられませんでしたか?

新規投稿