Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to update the byte(0,1) values in Profile schema?

Sakthi_Kumar_G
Level 2
Level 2

Hi Team,

I have tried inserting value of gender in Profile schema via API with Postman.

But its not accepting 0 or 1 values in Profile 'Gender' column, Even though  its a byte datatype but its not updating in Profile.

In workflow also tired passing value but its not working, If i pass gender as Male or Female its working but the same not happening if values are 0 or 1.

Please advise.

Thanks,

Sakthi Kumar G

1 Accepted Solution
johnwwilcoxmba
Correct answer by
Level 5
Level 5

I am not sure this will help or not but this is what I do when I load it via a workflow:

Gender.png

View solution in original post

0 Replies
amitk66415973
Level 1
Level 1

Hi Sakthi,

ACS defined gender as string in the api so you can not use this a byte.

Possible values: unknown, male, female.

You can check possible values by taking a sample from your API.

https://mc.adobe.io/<Org ID>/campaign/profileAndServices/profile/gender?_lineCount=100

Please use Gender as string and it will work.

Regards,

Amit

johnwwilcoxmba
Correct answer by
Level 5
Level 5

I am not sure this will help or not but this is what I do when I load it via a workflow:

Gender.png

View solution in original post

Sakthi_Kumar_G
Level 2
Level 2

Hi John,

Thanks for your quick support. Actually my source file value of gender is 0 or 1 or 2. I have tried based on above screenshot and it got worked for me.

Thanks,

Sakthi Kumar G