The uuid provided is not valid, it should be 38 characters in length | Community
Skip to main content
Level 2
April 25, 2023
Solved

The uuid provided is not valid, it should be 38 characters in length

  • April 25, 2023
  • 3 replies
  • 2390 views

Hi,

We have created a Profile enabled schema and dataset with custom primary identifier "customer_id".
On data ingestion using HTTP API method, data is getting added to system.
In addition to this, can also see an error in batch ingestion details in Dataset.
Error : The uuid=90909090909090909909090909090909CUST01 provided is not valid, it should be 38 characters in length.
Tried giving 38 characters in customer_id field, still getting same error.
PFA snapshot

Why we are getting this error? even after giving 38 characters?

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 brekrut

Hi @_abs9900  

 

You can use the data prep function to create a guid. this can be used in the data prep functions when ingesting data.

 

Check out the special operations for guid https://experienceleague.adobe.com/docs/experience-platform/data-prep/functions.html%3Flang%3Dsv#special-operations

 

3 replies

arpan-garg
Community Advisor
Community Advisor
April 27, 2023

Hi @_abs9900 - Whats the identity namespace of the primary identifier? Is it ECID? Also does your schema has a UUID field , if yes, can you share what type of field is it

_abs9900Author
Level 2
April 27, 2023

Hi @arpan-garg ,

Thanks for your response.

We are using a custom created namespace for identifier and only 'customer_id' field as an unique identifier.

Thanks

brekrut
Adobe Employee
Adobe Employee
May 1, 2023

Hello 

 

Have you considered using the GUID function when creating the UUID. This function will create a unique 38 char value for ingestion.

 

Please let me know if this works.

Thanks

Bryan

_abs9900Author
Level 2
May 3, 2023

Hi @brekrut ,

We are using streaming ingestion here, using http API source method.

Is it possible to use GUID function in streaming ingestion?

I understand in batch ingestion, during field mapping we can configure functions.

I'm new to AEP, so if there is any documentation that can help, please suggest that too.

 

Thankyou

arpan-garg
Community Advisor
Community Advisor
May 9, 2023

Hi @_abs9900 - Are you streaming the event data or profile data? If its event data then you can use the data prep functions via datastreams. You can see this video for reference https://www.youtube.com/watch?v=rnK-zb55D9E

 

brekrut
Adobe Employee
brekrutAdobe EmployeeAccepted solution
Adobe Employee
May 9, 2023

Hi @_abs9900  

 

You can use the data prep function to create a guid. this can be used in the data prep functions when ingesting data.

 

Check out the special operations for guid https://experienceleague.adobe.com/docs/experience-platform/data-prep/functions.html%3Flang%3Dsv#special-operations