Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

useLoadScript.ts:54 Failed to load script: https://www.gstatic.com/charts/loader.js

Ankit kharola
Contributor
December 23, 2024

Trying to create a chart in my forge app using react-google-charts but i am facing an error where it says failed to load the script i have added the permission in my manifest file 

 

 

permissions:
 
    scopes:
      - read:jira-work
      - read:jira-user
    content:
      scripts:
      - 'unsafe-inline'
      styles:
        - unsafe-inline
i also tried 

 

- 'unsafe-hashes'

1 answer

0 votes
Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 23, 2024

Hi @Ankit kharola 

Forge apps are highly restricted to include third-party scripts for security reasons (CSP). It works best with libraries that don’t require external script loading like Chart.js

I hope this helps, but remember that https://developer.atlassian.com/ is the best place to ask this question.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events