Comments (3)
Hi @danielszaniszlo, this exception is thrown when all polling strategies return false when calling canPoll
. In the generated code only the custom strategy is added and that uses the default canPoll
for the super type OperationResourcePollingStrategy
which simply checks:
- Does the response have the operation location header?
- Does the polling endpoint and / or the operation location header create a valid URL?
If one, or both, of those fail this exception will be thrown. This is a case where some debugging is needed on the initial response to make sure the above holds true.
from azure-sdk-for-java.
HI @alzimmermsft, Thanks for the quick reply. The polling endpoint url is valid and the initial response is successful too, but it doesn't have the operation-location
Header.
What URL should be in the operation-location
header?
In our case the request PUT https://endpoint/jobs/{name} is the original request which creates a job and with
GET https://endpoint/jobs/{name} you can query the created job status
from azure-sdk-for-java.
Pulling in @srnagar and @weidongxu-microsoft as this differs from the expected pattern of OperationResourcePollingStrategy
polling. Do we have any design recommendations for the pattern above?
from azure-sdk-for-java.
Related Issues (20)
- Cloud Shell ManagedIdentitySource should throw if a user-assigned managed identity clientID or resourceID is supplied HOT 1
- [Identity] AzurePipelinesCredential parameterless constructor and add to DAC HOT 2
- [Identity] Create a new credential to support FIC in Github Actions HOT 2
- [BUG] spring-cloud-azure-starter-keyvault-secrets (5.14.0) - vulnerabilities in dependent netty-handler (4.1.111.Final) library HOT 3
- [BUG] 500/20910 Exceptions Should Fail Fast
- [BUG] azure-json throws an illegal state exception when running the GetEmbeddingSample code HOT 4
- [BUG] Azure OpenAI > 1.0.0-beta.8 (starting from beta 9) causes JSON streaming payload issues HOT 2
- [BUG] Feature Management no longer working in 5.14.0 HOT 7
- [BUG] Blob Storage Cryptography encode special characters in blob names HOT 2
- [FEATURE REQ] - Check Dynamic Request Options Functionality and Create Sample in Spring
- azure-json, migrate existing premium MGMT libs
- [OpenAI-Assistants] Add support for `v2024-07-01-preview` AOAI service release
- [OpenAI-Inference] Add support for `v2024-07-01-preview` AOAI service release
- java.lang.NullPointerException when application properties with null value are present HOT 2
- [BUG] Path is url-encoded twice when using the DataLakePathClientBuilder HOT 2
- [FEATURE REQ] Make `CosmosPatchOperations#getPatchOperations()` public to allow easier testing (mocking and asserting) HOT 1
- [BUG] HOT 1
- DocumentIntelligence 1099r Prebuilt Tax Model box 14 value contains unparsed currency amount HOT 4
- [BUG] Type error in FunctionsScaleAndConcurrency
- AzurePowerShellCredential fails to generate token due to deprecation message in Az 12.1.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-java.