Passing an empty Parameter to a GET call results in 500 error
Hey Decisions,
I'm trying to place a GET call to a URL, with an empty parameter "api&Code_number= " but I'm receiving a 500 error that says:
{ "Title": "500", "Description": "Input parameter \"Code_number\" is missing", "IsSecurityException": false }
Is this expected behavior of Decisions and is there a way to get this to work?
Comments
-
Hey there, thanks for using the Decisions Community Forum!
When placing a GET call, the API you're using determines whether the parameters can be empty or not, with this error it looks like the API you're using requires that parameter to have a value.
You could trick the parameter by using a string equals step to check if the parameter is Null, and then passing the value out as empty, this should send the GET call out without error.
Regards,
Levi | Decisions Support
Howdy, Stranger!
Categories
- 4.1K All Categories
- 60 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions