A business implemented a gamification plan to encourage its customers to watch some educational videos.
Customers can watch videos over several days, and their progress is recorded. Award points are granted to customers for all completed videos. When the video is marked as completed in Salesforce, an external web service must be called so that points can be awarded to the user.
A developer implemented these requirements in the after update trigger by making a call to an external web service. However, a System.CalloutException is occurring.
What should the developer do to fix this error?
ca7d262
2 months ago