@forge/bridge

7.3.0-next.77.3.0-next.8
out/fetch/fetch.js
~out/fetch/fetch.jsModified
+1−1
Index: package/out/fetch/fetch.js
===================================================================
--- package/out/fetch/fetch.js
+++ package/out/fetch/fetch.js
@@ -77,9 +77,9 @@
     if (!restPath || typeof restPath !== 'string') {
         throw new Error('Request target must be a path string or an object with a non-empty `path` string.');
     }
     if (contextAri !== undefined && (typeof contextAri !== 'string' || !contextAri.startsWith('ari:'))) {
-        throw new Error(`Invalid contextAri '${String(contextAri)}'. Expected an ARI such as 'ari:cloud:jira::site/<cloudId>'.`);
+        throw new Error(`Invalid contextAri '${String(contextAri)}'. Expected an ARI such as 'ari:cloud:jira::site/<cloudId>' or 'ari:cloud:jira:<cloudId>:workspace/<activationId>'.`);
     }
     return { restPath, contextAri };
 };
 const productFetchApi = (callBridge) => {