I need help a very simple app attached run using the API interactive documentation tool that's built into Alteryx Server.
I'm running version 2021.1.4.26400
I've been successful running apis numbered 1 and 2 below but stuck on 3
The app I'm trying to run is attached.
I've tried different apps from different machines and always get the same bad 500 return
I am running in chrome on the server logged in as the main service account and have the app in the main service accounts private studio
The questions I'm providing in 3 are
{
"questions": [
{
"name": "Input String",
"value": "abcd"
}
],
"priority": ""
}
Response detail is:
Request URL
http://mygalleryserver:80/gallery/api/v1/workflows/62ab11c8f093091ee0d4d1d5/jobs/?oauth_timestamp=1655386219&oauth_signature_method=HMAC-SHA1&oauth_consumer_key=8D91C30AA237B531b0071b540fcafe690472c4c6e1501ad1b2729f3&oauth_version=1.0&oauth_nonce=0Tm4b&oauth_signature=hDdS9Kl%2FdlTQLpXUHaMxbnT4mt4%3D
Response Body
{ "data": null, "exceptionName": "UnknownException", "innerExceptionMessage": "", "message": "Unknown error.\nArgumentException\nRequestID: 190a389a96914e83a8b3dcf475566a0c" }
Response Code
500
Response Headers
{
"Access-Control-Allow-Headers": "Content-Type, Accept, Authorization",
"Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS",
"Access-Control-Allow-Origin": "*",
"Access-Control-Max-Age": "1728000",
"Content-Type": "application/json",
"Date": "Thu, 16 Jun 2022 13:30:19 GMT",
"Transfer-Encoding": "chunked"
}
Solved! Go to Solution.
Hi @hroderick-thr, thanks for all the details you provided in your post! I'm just taking an educated guess in the dark, but try removing the priority tag (and the preceding comma):
{
"questions": [
{
"name": "Input String",
"value": "abcd"
}
]
}
I tested on my side, and I get the same 500 error when I include the priority tag. When I remove the priority tag, it worked just fine.
Hi @hroderick-thr, in addition to @patrick_digan's suggestion, adding "1" to the priority tag should work as well, such as...
"priority": "1"
Thanks @patrick_digan for another priceless contribution to my Alteryx journey
Thanks @BrianR for your addition, I think your suggestion is a tad easier but Patrick's was a tad faster
I tried executing the same APP that @hroderick-thr built.
I do not see any update in output.
I am getting below output
Input String,Reversed Output String
,
I was expecting below:
Input String,Reversed Output String
abcd,dcba
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 |