EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics
  3. KB489714: Agents created from Mosaic Models return “ERROR: error 401: b’Malformed credentials"

KB489714: Agents created from Mosaic Models return “ERROR: error 401: b’Malformed credentials"

In Strategy One (December 2025), Agents created from Mosaic Models only work with the MicroStrategyLibrary application. When used with a Library that has a different application name, the Agent fails with a credentials error: “ERROR: error 401: b’Malformed credentials”.

Symptom

In Strategy One (December 2025), if the Library application name is not MicroStrategyLibrary (for example, MicroStrategyLibrarySTD), Agents created from Mosaic Models return:

Sorry, I could not answer your question. Please try to rephrase it so that I could help you better.

rtaImage.png

In the Chat Service log, the error message “ERROR: error 401: b’Malformed credentials’” appears:

1768988114940,"{""event"": ""ERROR: error 401: b'Malformed credentials'"", ""user_id"": ""54F3D26011D2896560009A8E67019608"", ""path"": ""/ask"", ""bot_id"": ""ABD9A0AB1AEF440DBCFAC2C86886FBB7"", ""conversation_id"": ""7E1FE3EF7C3C464A827B0AD0F72497B3"", ""interaction_id"": ""9003D7E5C8B2479A993D13FFCF2C0532"", ""question_id"": ""1D60B30893AF481FA3E8E21E9B9623F9"", ""level"": ""warning"", ""filename"": ""cube.py"", ""func_name"": ""query_cube"", ""timestamp"": ""2026-01-21T09:35:14.940346Z""}"

Cause

This is a known limitation in Strategy One (December 2025). Agents created from Mosaic Models are only supported with the default MicroStrategyLibrary application.

Solution

This has been fixed in Strategy One (March 2026).

Workaround

Users can use one of the following:

  1. Use Mosaic Model based Agents in the MicroStrategyLibrary application.
  2. Update the Library URL in universal-semantic.sh.
    If it’s required to use the feature in a different library application for example MicroStrtegyLibrarySTD:

  • Edit /opt/mstr/MicroStrategy/install/UniversalSemantic/bin/ universal-semantic.sh
  • Update the value of "MSTR_LIBRARY_URL" to the target Library URL, for example:

export MSTR_LIBRARY_URL=http://localhost:8080/MicroStrategyLibrarySTD

rtaImage.png

Restart Mosaic Universal Access after saving the change.


Comment

0 comments

Details

Knowledge Article

Published:

April 2, 2026

Last Updated:

April 2, 2026