ÃÛ¶¹ÊÓƵ Journey Optimizer: Publishing journey in test mode fails
Learn how to resolve the ÃÛ¶¹ÊÓƵ Journey Optimizer issue where a journey in test mode fails with the message Type: APS Service throws Unauthorized Error.
Description description
Environment
ÃÛ¶¹ÊÓƵ Journey Optimizer (AJ0)
Issue/Symptoms
Publishing a journey in test mode fails with the message:
{\\\"type\\\":\\\"https://ns.adobe.com/aep/errors/CJMMAS-1601-500\\\",\\\"title\\\":\\\"APS Service throws Unauthorized Error, Token might be wrong, expired or invalid.\\\",\\\"status\\\":500,\\\"report\\\":{\\\"tenantInfo\\\":
{\\\"sandboxName\\\":\\\"missing\\\",\\\"sandboxId\\\":\\\"missing\\\",\\\"imsOrgId\\\":\\\"missing\\\"}
,\\\"additionalContext\\\":{\\\"errorLevel\\\":\\\"ERROR\\\",\\\"source\\\":\\\"ASSET_PUBLISH\\\"}},\\\"error-chain\\\":[
{\\\"serviceId\\\":\\\"message-authoring-service\\\",\\\"errorCode\\\":\\\"CJMMAS-1601-500\\\",\\\"invokingServiceId\\\":\\\"missing\\\",\\\"unixTimeStampMs\\\":«REDACTED»}
] }] }\"}}}] }}"
.
Resolution resolution
The user launching test mode does not have access to Assets Essentials. You must add the user to the Assets Essentials Consumer Users or/and Assets Essentials Users Product profiles.
For steps, refer to the section titled Add user groups to product profiles  on the Administer Assets Essentials and add users page in the Assets Essentials Guide.
Cause
The user launching test mode does not have access to Assets Essentials.
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f