Unable to upload asset to AEM using aem-upload github tool

Avatar

Avatar

uafzal

Avatar

uafzal

uafzal

16-03-2021

I am using the aem-upload tool to upload an asset to an AEM instance. The documentation says "all AEM as a Cloud Service instances will have direct binary upload enabled, so this library will work with those."

But, I get the following error. 

 

Error: direct binary access not supported

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

davidjgonzalezz

Employee

Avatar

davidjgonzalezz

Employee

davidjgonzalezz
Employee

16-03-2021

admin/admin doesnt work on Cloud Service environments. 

 

You need to make a local account in your AEM as a Cloud Service author env under Tools > Security > Users  and make sure it's permissioned to write to the specified assets folder. 

 

Answers (1)

Answers (1)

Avatar

Avatar

davidjgonzalezz

Employee

Avatar

davidjgonzalezz

Employee

davidjgonzalezz
Employee

16-03-2021

This is because you are trying to use the tool to upload to a local quickstart-based AEM (the AEM SDK presumably).

 

This tool must be run against a true AEM as a Cloud Service environment (that runs in the Adobe Cloud).