Skip to content

The api-version parameter to start a job should be passed back in the Operation-Location header #16807

@heaths

Description

@heaths

While working on the authoring client, we found that long-running operations (LROs) were 404'ing during status updates because the api-version query parameter was not returned. Talking with @JeffreyRichter, the Operation-Location for LROs (and nextLink for paged results) should be opaque, so they need to include the api-version parameter - the same one passed during the request to start a job or get paged results.

@ChongTang could you also check if CLU might have this problem?

I'll also be opening bugs that generated code should add it if missing based on the client options, but ideally services do this consistently so any caller doesn't have to work around the issue.

/cc @annatisch @AhmedLeithy @ZulaMostafa @mshaban-msft

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions