Power pages adventures – Liquid error: Exception has been thrown by the target of an invocation


When using FetchXml with Liquid, you may encounter an error message: "Liquid error: Exception has been thrown by the target of an invocation." To handle this error gracefully, you can use the "capture" Liquid tag to capture the error and then check if there was an error using a condition. This allows you to handle the error instead of displaying it to the user.


Article 8m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time