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 cache, or something on the store blocking a script.
On the published page
Section titled “On the published page”| 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 store’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 store. |
| 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 Content Security Policy, or a wrong address. | Try with extensions off. 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 widget or tag has no form. | Choose one, or add id. |
| “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 tag from the form’s Share dialog. Word processors like to change straight quotes into curly ones, so paste it as plain text. |
| The tag itself, as plain text | The module is disabled, or the place doesn’t go through Magento’s content filter. | Enable the module, or use it in the content of a CMS page or block. |
| Nothing at all | The module is disabled while the page uses a widget. | Enable it. |
| Magento’s error page on pages that have a widget instance | The module was disabled or removed while the instance stayed. | Enable the module, delete the instance in Content → Elements → Widgets, and only then disable it. bin/magento doxtly:forms:remove-data deletes them all, and with them the settings and the access key. |
| A new widget instance doesn’t show | The caches hold the old layout. | Refresh them under System → Cache Management. |
| Your theme’s styles don’t apply | That is style isolation working. | Use custom CSS in Doxtly, or set Isolate from the Site’s Styles to No. |
In the widget
Section titled “In the widget”| What you see | Why | What to do |
|---|---|---|
| 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 | Magento 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 |
The admin user’s role lacks Choose forms and links in the editor. | Add it to 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 the last table. |
| A plain field and no list at all, with no message | This page of the admin has no Magento editor of its own, so the module’s scripts are not on it. | Paste the ID. |
| Doxtly Form is not among the widget types | The module is not enabled, or the cache holds the old list. | Run bin/magento module:status Doxtly_Forms and bin/magento cache:flush. |
| The admin has no styles or scripts in Polish | Production mode, and Polish was left out of the static content. | Run setup:static-content:deploy with pl_PL. |
In the link search
Section titled “In the link search”| What you see | Why | What to do |
|---|---|---|
| “Nothing found in Doxtly.” for everything | No access key is saved, or the key lacks the permission, or Magento can’t reach Doxtly at the moment. The search never shows an error. | Open Content → Elements → 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 | Magento keeps the lists for two minutes. | Try again shortly, or save the settings to read them afresh. |
| 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. |
Messages about the connection
Section titled “Messages about the connection”These appear on the settings page and in the widget’s notices.
| 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: …” | Magento 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 store’s encryption key 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 editors choose from, so a failing key never takes a form off your store or breaks a link already on a page.
Still stuck
Section titled “Still stuck”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.