Skip to content

Troubleshooting

Find what you see, then follow the fix. Nearly every problem comes down to the form’s status in Doxtly, the access key, a role without the permission, or something on the site blocking a script.

What you see Why What to do
Form not found The form is not Active, the ID is wrong or out of date because the form got a new address, or your site’s address is not among the allowed origins. Check the form in Doxtly, and after a new address choose the form again or paste its new token. With an iframe, the allowed origins must list your Doxtly address, not your website.
Missing required parameters The form has a required parameter that the page’s address does not carry. Add it to the links that lead to the page, or stop requiring it.
“The form could not be loaded here.” with Open the form The form’s script didn’t arrive within ten seconds. Usually an ad blocker, a performance tool or a Content Security Policy. Try with extensions off. Exclude the scripts from delaying. Check the Application URL in the settings.
“This quiz or survey could not be shown here.” with Open it in a new tab The same, for a quiz or survey: its script didn’t arrive within ten seconds. The same as for a form, in the row above.
“Doxtly Forms: Form ID is required.” A tag has no id. Add it.
“Doxtly Forms: Form ID is invalid.” The id holds something other than letters, digits, hyphens and underscores, or is longer than 64 characters. Copy the form’s Public link from its Share dialog in Doxtly and take the part after /f/. Word processors like to change straight quotes into curly ones, so paste a tag as plain text.
The tag itself, as plain text The text’s format doesn’t have the Doxtly forms filter, or the module was uninstalled. Tick the filter in that format, or install the module.
A teaser without the form Drupal trimmed the text. Put the tag into the summary.
Your theme’s styles don’t apply That is style isolation working. Use custom CSS in Doxtly, or shadow_dom="false".
The old form is still shown after you changed the page A cache in front of Drupal holds the previous page. Clear that cache.
What you see Why What to do
The Doxtly button is greyed out The user lacks Use Doxtly Forms, which no role but the administrator has at first. Give it to the role.
A field for the ID and no list or notice The same. The same.
The Doxtly button isn’t in the editor It isn’t on this format’s toolbar. Add it.
The dialog has no Link tab The format has no Link button. Add Drupal’s Link button to the toolbar.
A field for the ID and “Save a Doxtly access key…” No key is saved. Paste the ID, or save a key.
A form you just activated isn’t on the list Drupal keeps the list for ten minutes. Click the refresh button.
“No forms to choose from.” The key’s organization has no active forms. Set a form as active in Doxtly and refresh. If you expected forms, check that the key comes from the right organization.
Unavailable form The form was deleted, deactivated, or belongs to another organization. Choose another.
“The list of forms could not be loaded.” with HTTP 403 Your session ended, or the user has lost Use Doxtly Forms. Sign in again, or check the role. You can still paste a form’s ID meanwhile.
A red notice with “Until the list loads, the form ID can be entered by hand.” The list failed. The start of the message gives the reason. See Messages about the connection.
“Doxtly Forms: Form ID is required.” when you save a block A block needs a form. Choose one.
What you see Why What to do
“Nothing found in Doxtly.” for a name you know No access key is saved, or the key lacks the permission, or Drupal can’t reach Doxtly at the moment. The search never shows an error. Open Configuration → Web services → Doxtly Forms. The connection check says what the key can read.
Forms are found, interactive documents aren’t The key lacks List interactive documents. Edit the key. The change shows within a minute, or at once if you save the settings.
Something you just created or activated isn’t found Drupal keeps the lists for two minutes. Try again shortly, or save the settings to read them afresh.
Drupal’s own Link button doesn’t find anything from Doxtly It searches only your site. Use the Doxtly button.
The link’s page says the form or document can’t be found or loaded It was deactivated or deleted, or your Doxtly address is missing from its allowed origins. See What a link needs.
The link opens Missing required parameters It has a required parameter, which a plain link doesn’t carry. Add the parameter to the link’s address, or stop requiring it.

These appear on the settings page and in the notices below the Form field.

Message Why What to do
“Doxtly refused the access key. Check the key and the secret, and that the key is active and has not expired.” The key or secret is wrong, or the key is disabled or expired. Check it in Doxtly and enter both again.
“The access key may not list forms. Give it the “List forms” permission in Doxtly.” The key lacks that permission. Edit the key. Its key and secret stay the same.
“To link to interactive documents as well, give the key the “List interactive documents” permission.” Not a fault. The key reads forms but not interactive documents. Only if you want those links, edit the key.
“The key lacks the “List forms” permission, so forms are entered by their ID and the link search does not find them.” The key reads interactive documents only. Add List forms if you place forms.
“The interactive documents could not be checked: …” Forms were read, but the list of interactive documents failed. The rest of the message says why. Look the reason up in this table. Forms are not affected.
“Doxtly could not be reached: …” Drupal got no answer within ten seconds, or the connection failed. The rest of the message comes from your server. Check the API URL, or ask your host whether outgoing connections to Doxtly are allowed.
“Doxtly answered with an error (HTTP …).” Doxtly or something in between returned an error. A status such as 301 or 404 usually means the API URL is wrong. Check the addresses. Clear API URL so that it’s worked out for you. If it’s a 5xx, try again shortly.
“Doxtly answered with something that is not a list of forms.” or “…of interactive documents.” The API URL points at something other than the Doxtly API. Correct it, or clear it.
“The Doxtly API address cannot be worked out from the application address.” The Application URL has no app part. Enter the API URL under Advanced.
“The saved access key can no longer be decrypted…” The site’s secret in settings.php changed. Enter the key again.

Forms already on your pages don’t depend on any of these. All the messages in this table are about the lists that authors choose from, so a failing key never takes a form off your website or breaks a link already on a page.

Open the page in a private window with your browser’s extensions off, and look at the browser’s console. A blocked address there usually names the cause. For problems with the form itself rather than the module, see Embedding a form.