Error: The library has not yet been initialized and this call is not allowed

MOD Administrator 0 Reputation points
2024-06-28T12:53:51.4966667+00:00

User's image

I am trying to settings methods as of pages in my application for configuration of urls, to update theme and for multiple functionalities but whenever i am using page.config or getConfig or setConfig. I am always getting this error. because of this error I am not able to work on application. There is no clear solution in google also which can help to resolve.

Please Help me resolve this issue. I found one similar issue but it says by contentUrl in manifest, we can fix but I have no idea how it can be fixed. I tried as per document to create a base URL but still getting the same error.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,503 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,014 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more