Issue of read the generated image URL

hantsy
hantsy Member Posts: 1
edited February 11 in Developer APIs

I am using the java sdk and generated an uploaded image URL, but when I tried to read the generated image URL, it did not work.

I used Spring webflux `WebClient` to read data from the image URL.

return webClientBuilder.baseUrl(generatedUrl).build()
    .get()
    .awaitExchange {
        it.awaitBody<ByteArray>()
    }


it throws a timeout or reset exception, however.

But I tried to copy the generated URL in the browser, and after a short pause, it displayed the image correctly.