Shortcuts: Get Contents of URL JSON Request Body Unexpected Behavior

I’m trying to use an API with the get contents of URL action in Shortcuts, but it keeps crashing. In the request body I need an array that has a dictionary with multiple strings. I’m able to add the array and dictionary within it, but once I add information to the two string in the dictionary odd behavior occurs. When I add a key to the first string it converts it to an array. Then as soon as I type anything in the second key Shortcuts crashes. I’m not sure if I’m doing wrong or if this is just a bug. This behavior was the same on my Mac, iPhone, and iPad.


Here are some images with descriptions from my iPad of the steps I took:


Here’s the action with the array in the request body:


I added the dictionary in the array:


I added two text strings in the dictionary. Once I enter a key in the first one it changes to an array. As soon as I enter anything in the key for the second string Shortcuts crashes:

iPad Pro, 12.9-inch, 6th Gen, Wi-Fi

Posted on Mar 6, 2023 8:23 AM

Reply
1 reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Shortcuts: Get Contents of URL JSON Request Body Unexpected Behavior

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.