Coder Social home page Coder Social logo

Comments (3)

ankumalh avatar ankumalh commented on August 22, 2024 1

edit pom to add this dep mentioned here https://docs.microsoft.com/en-us/java/api/overview/azure/storage-blob-readme?view=azure-java-stable.

<dependency>
    <groupId>com.azure</groupId>
    <artifactId>azure-storage-blob</artifactId>
    <version>12.14.1</version>
</dependency>

from media-services-v3-java.

yugandhar02 avatar yugandhar02 commented on August 22, 2024

After adding direct dependency as suggested by @ankumalh
I am getting below error. I have re-checked configuration and seems to be correct

java.lang.IllegalArgumentException: Invalid connection string.
	at com.azure.storage.common.implementation.connectionstring.StorageConnectionString.create(StorageConnectionString.java:115)
	at com.azure.storage.blob.BlobContainerClientBuilder.connectionString(BlobContainerClientBuilder.java:293)
	at sample.EncodingWithMESCustomPreset.createInputAsset(EncodingWithMESCustomPreset.java:362)
	at sample.EncodingWithMESCustomPreset.runEncodingWithMESCustomPreset(EncodingWithMESCustomPreset.java:111)
	at sample.EncodingWithMESCustomPreset.main(EncodingWithMESCustomPreset.java:70)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

I can see it was authenticated correctly and transform was created successfully but was unable to upload asset because of above error

from media-services-v3-java.

giakas avatar giakas commented on August 22, 2024

This was fixed in the latest sample. I think you are seeing issues because, you are using Track 1 AMS sdk and track 2 storage SDK and they are not compatible. see the current code, which uses both Track 2 SDKs.

from media-services-v3-java.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.