Leiste mit Community-Erfolgen erweitern.

Adobe Experience Platform (AEP) & Apps User Groups are live to Network, learn, and share in your regional locations.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

pattern mismatch error: #/environment/_dc/language: string [zh-CN-#Hans]

Avatar

Level 2

Hello Community,

 

Datasets from our mobile SDK is failing due to below error - 

"the message can't be validated due to the pattern mismatch error: #/environment/_dc/language: string [zh-CN-#Hans] does not match pattern ^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$.","

Have anyone encountered this issue before?

Regards,

Vivek

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Community Advisor

Hi @vk84 

 

I haven't experienced this issue before but there is something wrong with the language format that you are mapping with AEP mobile webSDK. Language attribute needs to be array of languages associated with the content from the proposed offer. For example the format should be ["en-US"].

 

https://experienceleague.adobe.com/docs/experience-platform/edge/personalization/offer-decisioning/o... 

 

Hope this helps.

Lösung in ursprünglichem Beitrag anzeigen

3 Antworten

Avatar

Korrekte Antwort von
Community Advisor

Hi @vk84 

 

I haven't experienced this issue before but there is something wrong with the language format that you are mapping with AEP mobile webSDK. Language attribute needs to be array of languages associated with the content from the proposed offer. For example the format should be ["en-US"].

 

https://experienceleague.adobe.com/docs/experience-platform/edge/personalization/offer-decisioning/o... 

 

Hope this helps.

Avatar

Level 1

Please see the following release notes for the AEP Mobile SDK. 

https://developer.adobe.com/client-sdks/documentation/release-notes/

 

To correct this please upgrade your Mobile Core libraries to the latest version. 

 

This should resolve the issue. 

 

 

Avatar

Employee

Please see the following release notes for the AEP Mobile SDK. 

https://developer.adobe.com/client-sdks/documentation/release-notes/

 

To correct this please upgrade your Mobile Core libraries to the latest version. 

 

This should resolve the issue.