Logic app schema validation not returning 400 on TypeInputSchemaMismatch
- Dominant language
- ABAP
- Stars
- 424
- Forks
- 320
- Avg merge
- 14h 41m
- Merged PRs (30d)
- 1
Description
### Describe the Bug with repro steps
Logic app with HTTP trigger with schema validation enabled does not return 400 error when TypeInputSchemaMismatch error is encountered
### What type of Logic App Is this happening in?
Consumption (Portal)
### Which operating system are you using?
Windows
### Did you refer to the TSG before filing this issue? [https://aka.ms/lauxtsg]()
No
### Workflow JSON
```json
{
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"actions": {
"Send_message": {
"type": "ServiceProvider",
"inputs": {
"parameters": {
"entityName": "updatebooking",
"message": {
"contentData": "@triggerBody()",
"userProperties": {
"booking": "PITCHUPBOOKINGUPDATEBOOKING"
}
}
},
"serviceProviderConfiguration": {
"connectionName": "servicbus1",
"operationId": "sendMessage",
"serviceProviderId": "/serviceProviders/serviceBus"
}
},
"runAfter": {}
},
"Response": {
"type": "Response",
"kind": "Http",
"inputs": {
"statusCode": 200
},
"runAfter": {
"Send_message": [
"SUCCEEDED"
]
}
}
},
"contentVersion": "1.0.0.0",
"outputs": {},
"triggers": {
"When_a_HTTP_request_is_received": {
"type": "Request",
"kind": "Http",
"inputs": {
"method": "POST",
"schema": {
"type": "object",
"properties": {
"next": {
"type": "string"
},
"previous": {
"type": "string"
}
},
"required": [
"next",
"previous"
],
"additionalProperties": true
}
},
"operationOptions": "EnableSchemaValidation"
}
}
},
"kind": "Stateless"
}
```
### Screenshots or Videos
![Image]()
![Image]()
### Browser
tested using insomnia
### Additional context
*No response*
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.