You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @returns {object|undefined} - The corresponding error message, or undefined if no match.
600
600
*/
601
+
constqrCodeSuffix='Open the Gateway Status page by scanning the QR code on the gateway.'
602
+
601
603
exportconstgetClaimGatewayErrorMessage=error=>{
602
604
constm=defineMessages({
603
605
notFound: "Gateway doesn't exist. Please confirm that the gateway EUI is correct.",
604
-
subscriptionNotActive:
605
-
'There is no gateway subscription attached or active. Please get a <link>Gateway Subscription</link> or activate your subscription following the steps in the documentation. If this gateway is part of a fleet, you should use a Fleet Owner Token during the registration process.',
606
+
subscriptionDetached: `The gateway billing is detached. ${qrCodeSuffix}`,
607
+
subscriptionSuspended: `Your gateway billing is suspended. ${qrCodeSuffix}`,
608
+
subscriptionUnknown: `The gateway billing is not set up yet. ${qrCodeSuffix}`,
609
+
noSlotsAvailable: `There are no available Gateway Licenses for this gateway. ${qrCodeSuffix}`,
606
610
permissionDenied: 'The owner token is invalid.',
611
+
fleetIdMismatch: `The gateway EUI matches a Gateway License, but the fleet ID does not match. ${qrCodeSuffix}`,
0 commit comments