Skip to main content

Integration Errors

This guide covers common errors you might encounter when connecting integrations to Appstack and how to resolve them.

Quick Tip

Most integration errors are related to authentication or permissions. Always ensure you have the correct access levels before connecting.

Meta, Google, and TikTok Ads Integration Errors

Meta/Google/TikTok Authentication Failed

What it means: Your Meta/Google/TikTok access token is invalid, expired, or has been revoked.

How to fix:

  1. Go to your Meta/Google/TikTok Business Manager
  2. Check that your user account has the correct permissions
  3. Try to connect again in Appstack
Token Lifecycle

The token generated through OAuth has an expiry date. If this error appears several weeks after you connected, please refresh your credentials.

Application Not Found

How to fix:

  1. Verify your app ID is correct in Meta/Google/TikTok Business Manager
  2. Ensure your user account has access to the correct ad account
  3. Make sure you're running campaigns for this app (the app must have campaign data)
  4. Check that the app is connected to the right ad account
Common Cause

This often happens when you haven't started running campaigns yet. Try again once you have active campaigns.

App Store Connect Integration Errors

App Store Connection Failed

How to fix:

  1. Double-check your Key ID, Issuer ID, Private Key, and Vendor ID
  2. Verify the API key is active and not expired
  3. Ensure the key has the correct permissions (Admin, Sales and Reports + App Manager)
  4. Try generating a new API key if the issue persists
Four Credentials Check

Make sure all four credentials (Key ID, Issuer ID, Private Key, and Vendor ID) are correct and match your App Store Connect setup.

Incorrect Private Key Format

How to fix:

  1. Download a new API key from App Store Connect
  2. Ensure you copy the entire key including the header and footer lines:
    -----BEGIN PRIVATE KEY-----
    [your key content]
    -----END PRIVATE KEY-----
  3. Make sure there are no extra spaces or characters
Common Mistake

Don't forget to include the header and footer lines when copying your private key!

App Store access check failed

How to fix:

  1. Contact support with the specific error details
  2. This is an internal system error that requires investigation

App Store Permissions Missing

How to fix:

  1. Check your user role in App Store Connect
  2. Ensure you have Admin or Account Holder access
  3. Verify the API key has the correct access level:
    • Admin: Unlocks all metrics
    • Sales and Reports + App Manager: Unlocks Trends and Reviews
    • Sales and Reports: Unlocks Trends only
  4. Ask your account administrator to grant the necessary permissions
Role Requirements

You need Admin or Account Holder access to generate API keys. If you don't see the API section, ask your account owner for help.

App Store Agreement Required

How to fix:

  1. Log into App Store Connect
  2. Accept any pending agreements
  3. Try connecting the integration again
Quick Fix

This is usually resolved by simply accepting the pending agreement in your App Store Connect dashboard.

App Store Reports Not Accessible

How to fix:

  1. Ensure your API key has the correct access level:
    • Admin: Unlocks all metrics and reports
    • Sales and Reports + App Manager: Unlocks Trends and Reviews
    • Sales and Reports: Unlocks Trends only
  2. Check that the key has access to all required report types
  3. Generate a new API key with the appropriate permissions if needed
Permission Level

To unlock all metrics, give Appstack Admin access. For specific features, use the appropriate access level as described in the setup instructions.

Apple Ads Integration Errors

How to find your Apple Ads Account ID
  1. In Apple Ads, click your account name at the top left.
  2. In the dropdown, locate the "Campaign Group" section.
  3. Copy the "Campaign Group ID" — this is your Account ID.

Apple Ads Authentication Failed

How to fix:

  1. Verify your Client ID, Team ID, Key ID, and Account ID are correct
  2. Ensure your API key is active and not expired
  3. Check that your account has the required API role: API Account Manager
  4. Ensure your Apple Ads account has access to the app used within Appstack
Important

You need API Account Manager access specifically. Having Admin access won't work. The Campaign Management API requires access through a separate Apple Account with API Account Manager access.

No Campaign Data Found

How to fix:

  1. Verify the app ID is correct in Apple Ads
  2. Ensure the app has campaign data over the last 30 days
  3. Check that campaigns are active and running
  4. Verify your Apple Ads account has access to this app
Data Requirement

Your app needs to have active campaigns with data over the last 30 days for the integration to work.

Invalid Key Format

How to fix:

  1. Double-check your Key ID format
  2. Ensure you're using the correct key from Apple Ads
  3. Try using Safari browser if you encounter key format issues
  4. Ensure you copy the entire key including the header and footer lines:
    -----BEGIN PRIVATE KEY-----
    [your key content]
    -----END PRIVATE KEY-----
    Make sure there are no extra spaces or characters
  5. Generate a new API key if needed
Browser Tip

When saving API credentials in Apple Ads, you may need to use Safari browser if you encounter any 'invalid key' errors.

Stripe Integration Errors

Stripe Authentication Failed

How to fix:

  1. Verify your Stripe API keys are correct
  2. Check that your Stripe account is active
  3. Ensure you have the required permissions

Play Store Integration Errors

Play Store Authentication Failed

How to fix:

  1. Verify your Google Play Console credentials
  2. Check that your service account has the required permissions
  3. Ensure the Google Play Developer API is enabled

General Troubleshooting Tips

Still having issues?

Here's a systematic approach to resolve integration problems:

  1. Check your permissions: Ensure you have the required access levels for each platform
  2. Verify app connections: Make sure your app is properly connected to the ad accounts
  3. Update tokens: Generate fresh API keys and access tokens by reconnecting
  4. Contact support: If issues persist, reach out to our support team with specific error messages support@appstack.tech
Before You Start

Always ensure you have the correct access levels and permissions before attempting to connect integrations. Most authentication errors occur due to insufficient permissions or expired credentials.