Skip to content

Commit 4873c49

Browse files
kemister85Farzad Hayatbakhsh
andauthored
DOC-2275: updates to cloud-troubleshooting.adoc with new links to invalid-api-key.adoc page. (#3055)
* updates to with new links to page. * make it clearer that there are two causes and solutions for the first issue * undo previous commit 01fbca7 * DOC-2275: fixing up heading levels and document styling. * Update changelog.md --------- Co-authored-by: Farzad Hayatbakhsh <[email protected]>
1 parent 34bec60 commit 4873c49

File tree

2 files changed

+37
-18
lines changed

2 files changed

+37
-18
lines changed

changelog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ The format is loosely based on [Keep a Changelog](https://keepachangelog.com/en/
77
### Unreleased
88

99

10+
### 2024-01-31
11+
12+
- DOC-2275: updates to `cloud-troubleshooting.adoc` with new links to `invalid-api-key.adoc` page.
13+
1014
### 2024-01-30
1115

1216
- DOC-2240: add new `understanding-editor-loads.adoc` to `how-to-guide` section.

modules/ROOT/pages/cloud-troubleshooting.adoc

Lines changed: 33 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,30 @@ When {cloudname} detects a problem, it will show an editor notification containi
77

88
NOTE: The wording of the notifications shown here may differ from the actual notifications from {cloudname}.
99

10-
[[A-valid-API-key-is-required-starting-2024-to-continue-using-TinyMCE.-Please-alert-your-admin-to-sign-up-to-get-your-free-API-key.]]
11-
== "A valid API key is required, starting 2024, to continue using TinyMCE. Please alert your admin to sign-up to get your free API key."
10+
[[A-valid-API-key-is-required-to-continue-using-TinyMCE.-Please-alert-the-admin-to-check-the-current-API-key]]
11+
== "A valid API key is required to continue using {productname}. **Please alert the admin** to check the current API key. xref:invalid-api-key.adoc[Click here to learn more.]"
1212

13-
=== Cause
13+
=== Scenario (one)
14+
15+
==== Cause
1416

1517
This notification is *only shown* when either:
1618

1719
* An `+apiKey+` is not provided in the script tag.
1820
* `+no-api-key+` is provided as the API key.
1921

20-
Such as:
22+
For example:
2123

2224
[source,html,subs="attributes+"]
2325
----
2426
<script src="{cdnurl}" referrerpolicy="origin"></script>
2527
----
2628

27-
=== Solution
29+
==== Solution
30+
31+
Update the `+src+` URL to include your (website or application developer's) {cloudname} API Key. Your API key should replace the string `+no-api-key+`.
2832

29-
Update the `+src+` URL to include your (website or application developer's) {cloudname} API Key. Your API key should replace the string `+no-api-key+`. For example, if your API is `+abcd1234+`:
33+
For example: if your API is `+abcd1234+`:
3034

3135
[source,html,subs="attributes+"]
3236
----
@@ -37,10 +41,9 @@ To retrieve your API key, or to sign up for an API key, visit: link:{accountsign
3741

3842
NOTE: Visit our xref:invalid-api-key.adoc[Invalid API key] page for more information on how to fix a `invalid API key` with {productname}.
3943

40-
[[A-valid-API-key-is-required-starting-2024-to-continue-using-TinyMCE.-Please-alert-your-admin-to-check-the-current-API-key]]
41-
== "A valid API key is required, starting 2024, to continue using TinyMCE. Please alert your admin to check the current API key."
44+
=== Scenario (two)
4245

43-
=== Cause
46+
==== Cause
4447

4548
This notification is shown when the API key provided cannot be found on the {cloudname} server.
4649

@@ -50,7 +53,7 @@ The `+apiKey+` must be:
5053
* comprised of certain characters, and
5154
* created with a {cloudname} account on the link:{accountsignup}/[{accountpage} page].
5255

53-
=== Solution
56+
==== Solution
5457

5558
Check the `+apiKey+` provided in the script tag:
5659

@@ -60,10 +63,14 @@ Check the `+apiKey+` provided in the script tag:
6063

6164
NOTE: Visit our xref:invalid-api-key.adoc[Invalid API key] page for more information on how to fix a `invalid API key` with {productname}.
6265

63-
[[This-domain-is-not-registered-with-Tiny-Cloud.-To-continue-using-TinyMCE-a-registered-domain-is-required-starting-2024.-Please-alert-your-admin-to-review-the-approved-domains-and-add-this-one-if-required.]]
64-
== "This domain is not registered with Tiny Cloud. To continue using TinyMCE, a registered domain is required, starting 2024. Please alert your admin to review the approved domains and add this one if required."
66+
'''
67+
68+
[[This-domain-is-not-registered-in-the-TinyMCE-Customer-Portal.-Please-alert-the-admin-to-add-it-to-the-approved-domains-to-continue-using-TinyMCE.]]
69+
== "This domain is not registered in the {productname} Customer Portal. **Please alert the admin** to add it to the approved domains to continue using {productname}. xref:invalid-api-key.adoc[Click here to learn more.]"
70+
71+
=== Scenario
6572

66-
=== Cause
73+
==== Cause
6774

6875
This notification is shown when the https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer[*Referer*] of the page does not match the list of approved domains stored against your `+apiKey+`. {cloudname} verifies the domain {productname} is loading from by checking the domain portion of the *Referer* header in the network request. You can view a list of your approved domains on your link:{accountpageurl}/[{accountpage}].
6976

@@ -76,20 +83,24 @@ Sometimes the domain in the *Referer* header does not match with the URL in the
7683

7784
In the section called *Request Headers* there should be a field for *Referer*. This is the value that {productname} is checking against your approved domains. It must match one of your approved domains listed on your link:{accountpageurl}/[{accountpage}].
7885

79-
=== Solution
86+
==== Solution
8087

8188
If the `+Referer+` is correct for the site, ensure that the domain is included in your list of approved domains on link:{accountpageurl}/[{accountpage}]. If the `+Referer+` is not what you are expecting, you may need to adjust your application's https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer[*Referer* header] settings.
8289

90+
'''
91+
8392
[[were-unable-to-check-your-domain-because-the-referer-header-is-missing-please-read-the-guide-on-how-to-ensure-your-referer-header-is-present-so-we-can-then-customize-your-editor-experience]]
8493
== "We’re unable to check your domain because the referer header is missing. Please read the Guide on how to ensure your referer header is present, so we can then customize your editor experience."
8594

86-
=== Cause
95+
=== Scenario
96+
97+
==== Cause
8798

8899
This notification is shown if the https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referer[*Referer* header] is absent for the network request when loading {productname} from {cloudname}. {cloudname} verifies the domain {productname} is loading from by checking the domain of the *Referer* header in the network request.
89100

90101
_Referer_ headers are sometimes removed by browser settings or browser extensions. {cloudname} only needs the domain in the *Referer* header, so for improved performance and privacy {companyname} recommends setting the `+referrerpolicy+` to `+origin+` when requesting {cloudname} resources.
91102

92-
=== Solution
103+
==== Solution
93104

94105
Identify which browser setting or extension is responsible for blocking the *Referer* being sent. A common extension is `+Referer Control+`:
95106

@@ -98,16 +109,20 @@ Identify which browser setting or extension is responsible for blocking the *Ref
98109

99110
Once you have identified the setting or extension, modify it to allow just the `+Origin+` of the `+Referer+` to be sent. Alternatively, disable the extension or setting for any pages using {cloudname}.
100111

112+
'''
113+
101114
[[the-___-premium-plugin-is-not-enabled-on-your-api-key-upgrade-your-account]]
102115
== "The ___ premium plugin is not enabled on your API key. Upgrade your account."
103116

104-
=== Cause
117+
=== Scenario
118+
119+
==== Cause
105120

106121
This notification is shown when your API key does not have access to the premium plugin being requested. This could be the result of a trial expiring, and your {productname} configuration attempting to load premium plugins you can no longer access.
107122

108123
You may also be seeing this notification if you are using the wrong API key. Ensure that you are using the API key that has the right entitlements.
109124

110-
=== Solution
125+
==== Solution
111126

112127
Either remove the premium plugin from your {productname} configuration, or upgrade your subscription to provide access to that premium plugin.
113128

0 commit comments

Comments
 (0)