How to troubleshoot your function

There are several reasons that can lead IMPORTFROMWEB to display errors.

Here is how you can find to resolve the main errors

Find more information about the error

A first reflex when you are seeing a new error is to open the sidebar and go to the Monitor tab

In the monitor tab you will be able to:

  • Read detailed information about the error
  • Check the page as seen by the function

Bear in mind that ImportFromWeb may see something different from the page you see on your browser. Reasons can be various: Different contents for different locations, targeted platform testing different looks&feels or simply because the function did not load the page properly.

Because the function doesn’t load stylesheets and images, it’s very probable that it looks visually broken. However you can use it to resolve errors on XPaths.

If the content you are looking for is not in the code, try using the jsRendering option