{"schemaVersion":1,"title":"Troubleshooting","url":"https://appgram.dev/docs/guides/troubleshooting","markdownUrl":"https://appgram.dev/docs/format-md/guides/troubleshooting.md","jsonUrl":"https://appgram.dev/docs/agent/pages/guides/troubleshooting.json","version":"current","locale":"en","markdown":"# Troubleshooting\n\nResolve setup, identity, styling, dependency, and request problems.\n\nStart with one documented read request and one SDK screen. Check the project, identifiers, and HTTP response before adding more features.\n\n## Account or workspace setup is blocked\n\nIf sign-in asks for email confirmation, complete the confirmation message for the email you registered. Check spam and the address you entered if it is missing. An invitation must be accepted with the intended account; registering a different email does not grant access to that organization.\n\nIf your organization appears but its project or Developer tools does not, ask the owner or administrator to check your membership and permissions. Creating projects, approving feedback, opening Developer tools, and managing API keys can require different access. See [Getting started](/guides/getting-started) and [team access](/guides/going-to-production#give-teammates-the-access-they-need).\n\n## No data appears\n\n1. Confirm the SDK uses your public project ID, not a project slug or API key.\n2. Check that the content exists and is visible on public surfaces. For feedback, open the sample request in the dashboard and check **Approved**. If it shows **Awaiting approval · approve**, a teammate with feedback-management permission must approve it.\n3. Inspect the actual network response. A successful empty list is different from an error.\n4. Compare the request path and query names with the [public reference](/guides/public-api).\n\nUse this read request to isolate project context from UI configuration:\n\n```bash\ncurl --get 'https://api.appgram.dev/portal/wishes' \\\n  --data-urlencode 'project_id=YOUR_PROJECT_ID' \\\n  --data-urlencode 'page=1' \\\n  --data-urlencode 'per_page=1'\n```\n\nA request can be saved in the dashboard while remaining hidden from public lists when **Require approval** is enabled. Compare the project selected when you created it with the **Project ID** copied from **Developer tools → Overview**, then remove search or status filters that exclude it.\n\n## Voting does not save\n\nThe React walkthrough waits for the provider's fingerprint before enabling **Vote**. If it remains on **Preparing anonymous voting…**, check the browser console, provider initialization, and whether you set `enableFingerprinting: false`. That example needs a fingerprint to cast an anonymous vote.\n\nCheck the vote request's response and any UI error. A local count change is not proof that the server saved it; refresh the dashboard and reload the application. One customer identity cannot add repeated votes to the same request. Some interfaces toggle an existing vote off, while the React walkthrough disables its button after voting.\n\n## Provider or configuration errors\n\nReact and React Native hooks must render below `AppgramProvider`, not in the component that is still constructing the provider. Flutter widgets need the scope supplied by `AppgramProvider`. Swift view factories require `configure(projectId:)` first.\n\nSee the complete startup examples for [React](/guides/sdks/react), [React Native](/guides/sdks/react-native), [Flutter](/guides/sdks/flutter), and [Swift](/guides/sdks/swift).\n\n## React UI is unstyled\n\nThe prebuilt React components use Tailwind classes. Include the package's compiled files in content scanning and use its preset when configuring Tailwind CSS 3. There is no separate SDK stylesheet to import. The [React setup guide](/guides/sdks/react) includes the configuration; headless hooks work with your own UI.\n\n## A React Native module cannot be resolved\n\nInstall all five peer packages listed in the [React Native setup guide](/guides/sdks/react-native). Use versions compatible with your platform and complete their native installation steps. Restarting the JavaScript bundle alone cannot install a native dependency.\n\n## Release pages are empty\n\nCheck both `orgSlug` and `projectSlug` as well as the project ID. For Swift announcements, inspect `AnnouncementConfiguration` in the [Swift reference](/ios-sdk). Confirm that the release is published for the selected project.\n\n## The embed does not initialize\n\nLoad the script once, provide `data-project` or define `window.appgramSettings` before the script, and wait for loading before calling `window.AppGram` methods. Inline mode needs an existing container with a visible height. Check browser errors and your site's script and iframe policy.\n\nSee [Embed setup](/guides/sdks/embed). A blocked script, a hidden container, and a failed portal request have different fixes.\n\n## Authentication fails\n\nManagement operations use `x-api-key` on your server. Check the operation's scope and the key's access to the resource. A status page ID, project ID, survey ID, and public slug are not interchangeable. Portal workflows can use a separate customer token; do not replace it with a management key in the browser.\n\nSee [API authentication](/guides/api-authentication) and [pagination and errors](/guides/api-requests).\n\n## A production-only feature or request fails\n\nCompare production project IDs and slugs with the environment you tested. Check the organization's subscription, resource access, and team role when an action is unavailable. If browser requests fail while cURL succeeds, inspect the actual HTTP response, CORS or origin restrictions, and script or iframe policy on the deployed origin.\n\nDo not add a management key to a browser or mobile application to work around an access error. Use [Going to production](/guides/going-to-production) to check environment separation and [key rotation](/guides/api-authentication#rotate-or-revoke-a-key) for expired, lost, or revoked server credentials.\n\n## Report an integration problem\n\n[Contact AppGram](https://appgram.dev/contact) with your platform, SDK version, operation path, HTTP status, and a minimal reproduction. Include a request identifier if the response supplies one. Remove API keys, webhook secrets, customer tokens, and personal data before sharing logs.\n\n","contentLocale":"en","isFallback":false,"authorship":{"authors":[],"contributors":[],"reviewedBy":[]}}