An invalid TikTok Spark code usually means the code was copied incorrectly, expired, was generated for a different post, or the authorization does not allow the intended ad use. Ask the post owner for a fresh authorized code rather than trying to reuse an expired one.
Check the exact status first
At the Ad level, open the Spark Ads identity or post selector and read the exact code error. Confirm the post is still public and available.
Fix it in TikTok Ads Manager
Follow these steps in order. If a setting is locked, stop and check the account role or asset ownership before rebuilding the campaign.
- Ask the account or creator that owns the post to generate a new authorization code.
- Confirm the authorization duration and ad permissions match the campaign plan.
- Copy the new code exactly without extra spaces.
- Paste it into the Spark Ads field and select the correct post.
- Preview the ad to confirm the account and post are the intended ones.
Verify before changing the campaign again
Use a fresh status check after saving. Avoid raising the budget, changing the audience, and replacing the creative until the original issue has cleared.
- Confirm the post loads in the Ads Manager preview.
- Record the authorization expiry date.
- Do not edit or remove the original post while the campaign needs it.
THE TAKEAWAY
Fix the stated error first, then change only one campaign variable at a time so you can see what actually resolved it.