Troubleshooting

This article shows how to troubleshoot when you’re having issues with external data sources in Skuid. You can use your browser’s developer tools to find your external data request, and then reproduce it and see the actual JSON response.

Step 1: Open your Web Inspector.

image0

In Chrome or Firefox:

  1. Right click.
  2. Select Inspect Element.

Learn how to do this in:

Note

Don’t worry, this isn’t real compensation data being shown on the page above. Any resemblance to persons living or dead is purely coincidental.

Step 2: Select Network, limit to XHR and then take whatever action causes your external data request to be made.

image1

  1. Go to the “Network” tab, and limit to “XHR”.
  2. Take whatever action causes your external data request to be made. (If the request happens on page load, you will need to reload your page with the Console still open to see the requests that occur on page load).
  3. We are looking for the one that says apexremote. Click on it.

Step 3: Click on apexremote > Headers > Request Payload > data

image2

Clicking on “apexremote” will bring up a panel where you need to scroll down to the very bottom and then click on “data.”

Step 4: Copy the first item under data.

image3

Copy the string value of the first item in the data array (If multiple Models are being saved / queried in close proximity, there may be multiple entries in this data array).

Step 5: Paste into a text editor or JSON pretty printer.

image4

  1. Go to jsonprettyprint.com (or open your favorite text editor)
  2. Paste the request remembering to remove the leading and trailing spaces so that you get a nicer JSON representation of the request (see above).
  3. Click Pretty Print JSON (or do whatever it takes to send your request).

Check out the response…

This is not what you want to see.

image5

You may not have formatted the request correctly after you pasted it (I did that the first few times too - check the picture above this one to see how your request should look).

This is what you want to see.

image6

Ta da! Totally gorgeous JSON, if you’re into that type of thing.

Need more help? Ask your question on community.skuidify.com.

Check out the Skuid community to report problems, ask questions, and learn from other Skuid builders who have been there.