Azure / Azure/azure-rest-api-specs

Synapse Linked Service Creation Error

Open
#22,035 1 comment 0 reactions 0 assignees View on GitHub
bug customer-reported Service Attention
Dominant language
TypeSpec
Stars
3.1k
Forks
5.9k
Avg merge
2d 22h
Merged PRs (30d)
444

Description

The `2021-06-01-preview` for Synapse Linked Service returns response code 200 during create/update though the resource actually fails due to a bad payload. You can test this by passing in a bad `type` into the payload:

```
{
"properties": {
"type": "LinkedService",
"typeProperties": {
"connectionString": "someconnectionstring"
}
}
}
```

The API will report this as `200` even though it's a bad request and should return `400`

Contributor guide

Open the contributing guide

Research direction

Locate the Synapse Linked Service specification for the 2021-06-01-preview API and reproduce the create/update request with the invalid type payload shown in the issue. Inspect how the response status is defined, and consider the issue done when that invalid payload returns 400 instead of 200 while valid requests retain their expected response.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, openapi
Domain
api, cloud
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.