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
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]>
== "A valid API key is requiredto continue using {productname}. **Please alert the admin** to check the current API key. xref:invalid-api-key.adoc[Click here to learn more.]"
12
12
13
-
=== Cause
13
+
=== Scenario (one)
14
+
15
+
==== Cause
14
16
15
17
This notification is *only shown* when either:
16
18
17
19
* An `+apiKey+` is not provided in the script tag.
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+`.
28
32
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+`:
30
34
31
35
[source,html,subs="attributes+"]
32
36
----
@@ -37,10 +41,9 @@ To retrieve your API key, or to sign up for an API key, visit: link:{accountsign
37
41
38
42
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}.
== "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."
== "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
65
72
66
-
=== Cause
73
+
==== Cause
67
74
68
75
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}].
69
76
@@ -76,20 +83,24 @@ Sometimes the domain in the *Referer* header does not match with the URL in the
76
83
77
84
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}].
78
85
79
-
=== Solution
86
+
==== Solution
80
87
81
88
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.
== "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."
85
94
86
-
=== Cause
95
+
=== Scenario
96
+
97
+
==== Cause
87
98
88
99
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.
89
100
90
101
_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.
91
102
92
-
=== Solution
103
+
==== Solution
93
104
94
105
Identify which browser setting or extension is responsible for blocking the *Referer* being sent. A common extension is `+Referer Control+`:
95
106
@@ -98,16 +109,20 @@ Identify which browser setting or extension is responsible for blocking the *Ref
98
109
99
110
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}.
== "The ___ premium plugin is not enabled on your API key. Upgrade your account."
103
116
104
-
=== Cause
117
+
=== Scenario
118
+
119
+
==== Cause
105
120
106
121
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.
107
122
108
123
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.
109
124
110
-
=== Solution
125
+
==== Solution
111
126
112
127
Either remove the premium plugin from your {productname} configuration, or upgrade your subscription to provide access to that premium plugin.
0 commit comments