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
== "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.]"
=== "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.]"
17
+
18
+
==== Cause "No API Key"
16
19
17
20
This notification is *only shown* when either:
18
21
@@ -41,9 +44,7 @@ To retrieve your API key, or to sign up for an API key, visit: link:{accountsign
41
44
42
45
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}.
43
46
44
-
=== Scenario (two)
45
-
46
-
==== Cause
47
+
==== Cause "Invalid API Key"
47
48
48
49
This notification is shown when the API key provided cannot be found on the {cloudname} server.
49
50
@@ -55,31 +56,32 @@ The `+apiKey+` must be:
55
56
56
57
==== Solution
57
58
58
-
Check the `+apiKey+` provided in the script tag:
59
+
Check the `apiKey` provided in the script tag:
59
60
60
-
* Remove any leading or trailing spaces.
61
-
* Any other characters that are not in your API key. If you are using variable substitution, ensure that the variable is substituting properly.
62
-
* Matches the API key shown at {accountpageurl}.
61
+
* Remove any leading or trailing spaces
62
+
* Remove any other characters that are not in your `apiKey`. If you are using variable substitution, ensure that the variable is substituting properly
63
+
* Ensure the `apiKey` matches the API key shown at {accountpageurl}.
63
64
64
65
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 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.]"
=== "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.]"
72
74
73
75
==== Cause
74
76
75
77
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}].
76
78
77
79
Sometimes the domain in the *Referer* header does not match with the URL in the browser's address bar. To check the *Referer* header:
78
80
79
-
. Open your browser's _Developer's Tools_.
80
-
. Open the _Network_ tab.
81
-
. Find and select the request being made to load {productname} from {cloudname} with your API key.
82
-
. Click on the *Headers* tab.
81
+
* Open your browser's _Developer's Tools_.
82
+
* Open the _Network_ tab.
83
+
* Find and select the request being made to load {productname} from {cloudname} with your API key.
84
+
* Click on the *Headers* tab.
83
85
84
86
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}].
85
87
@@ -89,16 +91,16 @@ If the `+Referer+` is correct for the site, ensure that the domain is included i
== "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."
=== "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."
96
99
97
100
==== Cause
98
101
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.
100
-
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.
102
+
* 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.
103
+
* _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.
102
104
103
105
==== Solution
104
106
@@ -111,10 +113,11 @@ Once you have identified the setting or extension, modify it to allow just the `
=== "The ___ premium plugin is not enabled on your API key. Upgrade your account."
118
121
119
122
==== Cause
120
123
@@ -126,4 +129,50 @@ You may also be seeing this notification if you are using the wrong API key. Ens
126
129
127
130
Either remove the premium plugin from your {productname} configuration, or upgrade your subscription to provide access to that premium plugin.
128
131
129
-
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}.
132
+
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}.
133
+
134
+
'''
135
+
136
+
[[read-only-mode-no-api-key]]
137
+
== Read-only mode - No API Key
138
+
139
+
=== “{productname} is in read-only mode. **Please alert the admin** that an API key is required for continued use. xref:invalid-api-key.adoc[Learn more]
140
+
141
+
==== Cause "No API Key (Read only mode)"
142
+
143
+
This message is sent when the developer has not supplied an API key, typically because they've copied a getting-started script and have not completed the official https://www.tiny.cloud/auth/signup/[signup] process to get an API key.
144
+
145
+
==== Solution
146
+
147
+
* **Please alert your Admin** that an API key is required for continued use. xref:invalid-api-key.adoc[Learn more], or
148
+
* Sign up for a API key by visiting https://www.tiny.cloud/auth/signup/[www.tiny.cloud/auth/signup], and
149
+
* Update your {productname} configuration.
150
+
151
+
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}.
152
+
153
+
[[read-only-mode-invalid-api-key]]
154
+
== Read-only mode - Invalid API Key
155
+
156
+
=== “{productname} is in read-only mode. **Please alert the admin** to provide a valid API key to continue use. xref:invalid-api-key.adoc[Learn more] Your {productname} editor state has been set to read-only mode.”
157
+
158
+
==== Cause "Invalid API Key (Read only-mode)"
159
+
160
+
This message is shown when the API key is not correct, perhaps because of a typo.
161
+
162
+
==== Solution
163
+
164
+
* Login to your {productname} account and confirm that your API key matches your unique key by visiting https://www.tiny.cloud/auth/login/[www.tiny.cloud/auth/login/].
165
+
* or to sign up for an API key, visit: link:{accountsignup}/[{cloudname}].
166
+
167
+
[[read-only-mode-invalid-origin]]
168
+
== Read-only mode - Invalid Origin
169
+
170
+
=== “{productname} is in read-only mode. **Please request that the admin** add this domain to the approved domains in the Customer Portal. xref:invalid-api-key.adoc[Learn more]”
171
+
172
+
==== Cause "Invalid Origin (Read only mode)"
173
+
174
+
This message is shown when {productname} is loaded from a domain that has not been added to the approved domains in our account portal.
175
+
176
+
==== Solution
177
+
178
+
Please request that your admin add this domain to the approved domains in the Customer Portal xref:invalid-api-key.adoc[Learn more]
0 commit comments