web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested Answer

Failed to fetch Instantiating DataServiceRequests.g

(4) ShareShare
ReportReport
Posted on by 440
Hi All,
I've created a new request class, Controller class, Service class and response class,   
Build solution created two new files in the POS project dataService folder (DataServiceRequests.g.ts and DataServiceEntities.g.ts).
then I imported Entity, request and response from newly created files to my trigger extension class file. when I run store commerce the trigger not loaded failed and showing below error , what could be the reason ?
 
Failed to fetch Instantiating https://local.storecommerce.dynamics.com/DataService/DataServiceRequests.g Loading https://extensions.local.storecommerce.dynamics.com/UCCustomerContact/Extend/Triggers/PrePaymentConfirmationTrigger.js Loading https://extensions.local.storecommerce.dynamics.com/UCCustomerContact/Extend/Triggers/PrePaymentConfirmationTrigger
 
 
Categories:
I have the same question (0)
  • Suggested answer
    JCamiloFlorez Profile Picture
    10 on at
    Hi @Marshal, Here you have to check if the path you added for your file DataServiceRequests.g is ok, as far as I can see, you need to add "../" to reach the POS project folder (I know it was generated automatically, but at the applying extension moment in your SCAPP, it is not finding your file).

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 299 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 183 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 117 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans