ingested encrypted data in to AEP using API | Community
Skip to main content
New Participant
December 28, 2023
Solved

ingested encrypted data in to AEP using API

  • December 28, 2023
  • 2 replies
  • 1807 views

hi 

I'm trying to ingest encrypted data into AEP from   Data Landing zone

first, i ingested the data without encryption to be sure that my mapping is working 

then i followed https://experienceleague.adobe.com/docs/experience-platform/sources/api-tutorials/encrypt-data.html?lang=en 

i have used the public key from the call https://platform.adobe.io/data/foundation/connectors/encryption/keys to encrypt my csv   using  GPG keychain software on my Mac

the data flow failed with the following error 107 Unable to ingest the data in the file because the encoding does not match the original file.

i have saved my file in UTF-8 

 

any ideas ?                                                 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by abhinavbalooni

Hey @nirshani 

 

I am assuming the unencrypted file was uploaded successfully.

 

In the documentation, the step which talks about public key mentions that the public key is Base-64 encoded and must be decrypted before using. Just wanted to check with you if it was indeed decrypted before you used it to encrypt the file?

 

Cheers,

Abhinav

2 replies

NimashaJain
Employee
January 16, 2024

@nirshani Did you find the suggested solutions helpful? It would be great if you can  mark the answer as correct for posterity. If you have found out solution yourself, share it with wider audience in the community.

abhinavbalooni
abhinavbalooniAccepted solution
New Participant
December 28, 2023

Hey @nirshani 

 

I am assuming the unencrypted file was uploaded successfully.

 

In the documentation, the step which talks about public key mentions that the public key is Base-64 encoded and must be decrypted before using. Just wanted to check with you if it was indeed decrypted before you used it to encrypt the file?

 

Cheers,

Abhinav

nirshaniAuthor
New Participant
December 31, 2023

hi Thanks i do notice that and concert the key back 

 

one other thing i noticed is that one of the steps in the tutorial is not working for me

https://experienceleague.adobe.com/docs/experience-platform/sources/api-tutorials/create/cloud-storage/data-landing-zone.html?lang=en

 

the call 

http://platform.adobe.io/data/foundation/flowservice/connectionSpecs/26f526f2-58f4-4712-961d-e41bf1ccc0e8/explore?objectType=root'

 

lead to time out

 

abhinavbalooni
New Participant
December 31, 2023

Hey @nirshani 

From your response above, I am assuming you got the encryption piece working post decrypting the public key?

 

Now you are trying to access the folder contents from the landing zone using the above API which is timing out. Is it correct understanding ? Your initial issue is resolved then ?