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.2K All Categories
- 66 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions