Asset Sync Failing - Invalid Key

Hello all, I am trying to run the asset sync module on a local Foundry VTT install to update to use local assets.

I have generated an API key from my account and entered it into the module, however when I try to run asset sync (with only the final checkbox select) I get the “Failed to Sync. Check console for more details” message.

The console shows the following:

Sync: please set a valid API Key in Settings before attempting to sync!
at ForgeAssetSync.sync (assets-sync.js:114:19)
at async ForgeAssetSyncApp._onClickSyncButton (assets-sync.js:1056:13)

The key I have entered is correct (I assume I need just the key itself, not the whole key url - but have tried both approaches).

The assets used should all be in my library only (i.e. non from friends), however I do have a number of purchased modules (warhammer fantasy roleplay) if it matters.

… I may have selected to install modules from the bazaar when uploading the world initially (it was a local world I uploaded with the import wizard).

Any ideas on how I can troubleshoot?

Francesco

Based on this sentence, I’m assuming you used the share URL (or the GUID at the end of the URL) rather than the actual API Key.
Here’s a screenshot after I use the share button in the assets library:

(It might be that you didn’t see the bottom part if your screen resolution was lower than mine)

As you can see from the screenshot, there’s both a share Link and an API key, two different concepts. The share link is to send to friends with Forge accounts in order to get access to the shared folder, but the API key is different, a much longer string and a different format, would usually begin with “ey”

I hope that helps!

1 Like

Thanks for the quick response Kakaroto, much appreciated!

You were indeed correct… I had tried using either the full URL or the GUID rather than the actual key. It didn’t appear on screen as you suggested… but it was a schoolboy error, I should have spotted that anyway :smiley:

With the correct key in place it works a treat!

Thanks again for the help.

1 Like