Skip to main content Besuchen Sie uns auf der TDX in San Francisco oder bei Salesforce+ vom 5. bis 6. März, um die Entwicklerkonferenz für die Ära der AI-Agenten zu erleben. Jetzt registrieren.
Fehler

Da ist etwas schief gegangen. Versuchen Sie es noch einmal.

Hi, I am working on the "Apex Integration Services"  Module on the  "Apex REST Callouts" unit. I need to create a Static Resource in the developers console:

File -> New -> Static Resource

I enter the Name (GetAnimalResource). select the MIME type:text/plain and when I press submit i get this error:

UNKNOWN_EXCEPTION

An unexpected error occurred. Please include this ErrorId if you contact support: 1345751719-421449 (1976928079).

 

I've tried with other browsers and playgrounds but got the same error always.

Can you help me?

 

#Trailhead Challenges

7 Antworten
  1. 8. Nov. 2024, 00:14

    Hi ,

     

    Workaround

     

    1. Use API Version 37 or Lower

      - When making the REST API request, set the API version to v37.0 or lower.

      - Update your endpoint to reflect this version:

     

    Endpoint: https://{mydomain}/services/data/v37.0/tooling/sobjects/StaticResource

     

    2. Create the Static Resource from the Salesforce UI

      - Instead of using the API, log in to your Salesforce org.

      - Navigate to Setup > Static Resources.

      - Click New to create the static resource directly through the UI.

     

    Not able to create/update StaticResources through tooling api with version 38.0 & above.

    https://issues.salesforce.com/issue/a028c00000zilvAAAQ/not-able-to-createupdate-staticresources-through-tooling-api-with-version-380-above

0/9000