Skip to main content Join the Agentforce Virtual Hackathon to build innovative solutions and compete for a $50k Grand Prize. Sign up now. Terms apply.

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 respostas
  1. 7 de nov. de 2024, 12:04

    Thank you!!

  2. 8 de nov. de 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

  3. 6 de nov. de 2024, 21:05

    I´ve tried with other PLayground, same result. How can i contact the support from the Trailhead ?

  4. 6 de nov. de 2024, 21:00

    Yes, I got to this exercise in the unit without any problems. It gives an error as soon as I input the name / mime type

0/9000