Troubleshoot troubleshoot

A few generic troubleshooting tips that may help you troubleshoot with Asset Compute Service are:

  • Ensure that the JavaScript application does not crash on startup. Such crashes are usually related to a missing library or a dependency.

  • Ensure that all dependencies to be installed are referenced in the application’s package.json file.

  • Ensure any errors that may come from cleanup on failure don’t generate their own errors that hide the original problem.

  • When starting the developer tool for the first time with a new Asset Compute Service integration, it may fail the first processing request if the Asset Compute Events Journal is not completely set up. Wait for some time for the journal to set up before sending another request.

  • Ensure all required APIs–Asset Compute, Adobe I/O Events, Events Management, and Runtime–are included in your Adobe I/O Project and Workspace to avoid /register or /process request errors.

Log in issues by way of Adobe aio-cli login-via-aio-cli

If you have issues logging in to the Adobe Developer Console through the Adobe aio-cli, then manually add the credentials required for developing, testing, and deploying your custom application:

  1. Navigate to your Adobe Developer App Builder project and workspace on the Adobe Developer Console and press Download from the top-right corner. Open this file and save this JSON to a safe place on your machine.

  2. Navigate to the ENV file in your Adobe Developer App Builder Application.

  3. Add the Adobe I/O Runtime credentials. Get the Adobe I/O Runtime credentials from the downloaded JSON. The credentials are under project.workspace.services.runtime. Add the Adobe I/O Runtime credentials in the AIO_runtime_XXX variables:

    code language-json
    AIO_runtime_auth=
    AIO_runtime_namespace=
    
  4. Add the absolute path to the downloaded JSON in Step 1:

    code language-json
        ASSET_COMPUTE_INTEGRATION_FILE_PATH=
    
  5. Set up the rest of the required credentials needed for the developer tool.

recommendation-more-help
b027be24-3772-44c0-a56d-a4ba23dcb50b