आपको Apigee Edge दस्तावेज़ दिख रहा है.
अभी तक किसी भी व्यक्ति ने चेक इन नहीं किया है
इस पेज पर जाएं
Apigee X दस्तावेज़. जानकारी
UserNameRequired
गड़बड़ी का मैसेज
गड़बड़ी के इस मैसेज के साथ, Edge के यूज़र इंटरफ़ेस (यूआई) या Edge मैनेजमेंट एपीआई के ज़रिए, एपीआई प्रॉक्सी को डिप्लॉय नहीं किया जा सकता:
Error Deploying Revision revision_number to env_name BasicAuthenticationPolicy: Username element must be present for operation operation.
गड़बड़ी के मैसेज का उदाहरण
Error Deploying Revision 2 to test
BasicAuthenticationPolicy: Username element must be present for Encode operation.
स्क्रीनशॉट का उदाहरण

वजह
अगर BasicAuthentication नीति में <User> एलिमेंट के बारे में नहीं बताया गया है, तो एपीआई प्रॉक्सी को डिप्लॉय नहीं किया जा सकेगा. कोड में बदलने और डिकोड करने, दोनों तरह की कार्रवाइयों के लिए, <User> एलिमेंट ज़रूरी है.
संक्रमण की जांच
एपीआई प्रॉक्सी में इस्तेमाल की गई, BasicAuthentication की सभी नीतियों की जांच करें. अगर कोई ऐसी नीति है जिसमें
<User>एलिमेंट के बारे में नहीं बताया गया है, तो गड़बड़ी की वजह यही है. कोड में बदलने या डिकोड करने की कार्रवाइयों के लिए, पुष्टि करने की बुनियादी नीति में<User>एलिमेंट ज़रूरी है.नीचे दी गई बुनियादी पुष्टि करने की नीति का इस्तेमाल, एन्कोड करने के लिए किया जाता है. हालांकि, इसमें
<User>एलिमेंट की जानकारी नहीं दी गई है:<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <BasicAuthentication name="ApplyBasicAuthHeader"> <DisplayName>ApplyBasicAuthHeader</DisplayName> <Operation>Encode</Operation> <IgnoreUnresolvedVariables>false</IgnoreUnresolvedVariables> <Password ref="BasicAuth.credentials.password"/> <AssignTo createNew="false">request.header.Authorization</AssignTo> </BasicAuthentication>नीचे दी गई गड़बड़ी की वजह से डिप्लॉयमेंट नहीं हो सका:
BasicAuthenticationPolicy: Username element must be present for Encode operation.
रिज़ॉल्यूशन
पक्का करें कि कोड में बदलने या डिकोड करने की कार्रवाई के लिए, <User> एलिमेंट की जानकारी, BasicAuthentication की नीति में बताई गई है.
ऊपर दिखाए गए उदाहरण को ठीक करने के लिए, नीति में <User>एलिमेंट को शामिल करें जैसा कि नीचे दिखाया गया है:
<?xml version="1.0" encoding="UTF-8&quo>t<; standalone="yes"?
BasicAuthenticati>on na<me="Ap>plyBasicAuthHeader&q<uot;
Dis>playN<ameApplyB>asicAu<thHeader/D>ispla<yName
OperationEncode>/Oper<ation
IgnoreUnresolved>Varia<blesfalse/IgnoreUnresolvedVariables
Us>er re<f="BasicAuth.credentials.username"/
> P<assword ref="BasicAut>h.credentials.password"</
Ass>i<gnTo createNew=">;false"request.header.Authorization/AssignTo
/BasicAuthentication
PasswordRequired
गड़बड़ी का मैसेज
गड़बड़ी के इस मैसेज के साथ, Edge के यूज़र इंटरफ़ेस (यूआई) या Edge मैनेजमेंट एपीआई के ज़रिए, एपीआई प्रॉक्सी को डिप्लॉय नहीं किया जा सकता:
Error Deploying Revision revision_number to env_name BasicAuthenticationPolicy: Password element must be present for operation operation.
गड़बड़ी के मैसेज का उदाहरण
Error Deploying Revision 2 to test
BasicAuthenticationPolicy: Password element must be present for Encode operation.
स्क्रीनशॉट का उदाहरण

वजह
अगर BasicAuthentication नीति में <Password> एलिमेंट के बारे में नहीं बताया गया है, तो एपीआई प्रॉक्सी को डिप्लॉय नहीं किया जा सकेगा. कोड में बदलने और डिकोड करने, दोनों तरह की कार्रवाइयों के लिए, <Password> एलिमेंट ज़रूरी है.
संक्रमण की जांच
एपीआई प्रॉक्सी में इस्तेमाल की गई, BasicAuthentication की सभी नीतियों की जांच करें. अगर कोई ऐसी नीति है जिसमें
<Password>एलिमेंट के बारे में नहीं बताया गया है, तो गड़बड़ी की वजह वही है. कोड में बदलने या डिकोड करने की कार्रवाई के लिए, पुष्टि करने की बुनियादी नीति में<Password>एलिमेंट ज़रूरी है.नीचे दी गई बुनियादी पुष्टि करने की नीति का इस्तेमाल, एन्कोड करने के लिए किया जाता है. हालांकि, इसमें
<Password>एलिमेंट की जानकारी नहीं दी गई है:<?xml version="1.0" encoding="UTF-8&quo>t<; standalone="yes"? BasicAuthenticati>on <name=">ApplyBasicAuthHeader<" Dis>pla<yNameAppl>yBasic<AuthHeader>/Di<splayName OperationEnco>de/Op<eration IgnoreUnresolved>Var<iablesfalse/IgnoreUnresolvedVariables Us>er <ref="BasicAuth.creden>tials.username"/ Assi<gnTo crea>t<eNew="false&quo>t;request.header.Authorization/AssignTo /BasicAuthenticationनीचे दी गई गड़बड़ी की वजह से डिप्लॉयमेंट नहीं हो सका:
BasicAuthenticationPolicy: Password element must be present for Encode operation.
रिज़ॉल्यूशन
पक्का करें कि कोड में बदलने या डिकोड करने की कार्रवाई के लिए, <Password> एलिमेंट की जानकारी, BasicAuthentication की नीति में बताई गई है.
ऊपर दिखाए गए उदाहरण को ठीक करने के लिए, नीति में <Password>एलिमेंट को शामिल करें जैसा कि नीचे दिखाया गया है:
<?xml version="1.0" encoding="UTF-8&quo>t<; standalone="yes"?
BasicAuthenticati>on na<me="Ap>plyBasicAuthHeader&q<uot;
Dis>playN<ameApplyB>asicAu<thHeader/D>ispla<yName
OperationEncode>/Oper<ation
IgnoreUnresolved>Varia<blesfalse/IgnoreUnresolvedVariables
Us>er re<f="BasicAuth.credentials.username"/
> P<assword ref="BasicAut>h.credentials.password"</
Ass>i<gnTo createNew=">;false"request.header.Authorization/AssignTo
/BasicAuthentication
AssignToRequired
गड़बड़ी का मैसेज
गड़बड़ी के इस मैसेज के साथ, Edge के यूज़र इंटरफ़ेस (यूआई) या Edge मैनेजमेंट एपीआई के ज़रिए, एपीआई प्रॉक्सी को डिप्लॉय नहीं किया जा सकता:
Error Deploying Revision revision_number to env_name BasicAuthenticationPolicy: AssignTo element must be present for operation operation.
गड़बड़ी के मैसेज का उदाहरण
Error Deploying Revision 2 to test
BasicAuthenticationPolicy: AssignTo element must be present for Encode operation.
स्क्रीनशॉट का उदाहरण

वजह
अगर BasicAuthentication नीति में <AssignTo> एलिमेंट के बारे में नहीं बताया गया है, तो एपीआई प्रॉक्सी को डिप्लॉय नहीं किया जा सकेगा. कोड में बदलने और डिकोड करने, दोनों तरह की कार्रवाइयों के लिए, <AssignTo> एलिमेंट ज़रूरी है.
संक्रमण की जांच
एपीआई प्रॉक्सी में इस्तेमाल की गई, BasicAuthentication की सभी नीतियों की जांच करें. अगर कोई ऐसी नीति है जिसमें
<AssignTo>एलिमेंट के बारे में नहीं बताया गया है, तो गड़बड़ी की वजह यही है. कोड में बदलने और डिकोड करने, दोनों कार्रवाइयों के लिए, पुष्टि करने की बुनियादी नीति में<AssignTo>एलिमेंट का शामिल होना ज़रूरी है.नीचे दी गई बुनियादी पुष्टि करने की नीति का इस्तेमाल, एन्कोड करने के लिए किया जाता है. हालांकि, इसमें
<AssignTo>एलिमेंट की जानकारी नहीं दी गई है:<?xml version="1.0" encoding="UTF-8&quo>t<; standalone="yes"? BasicAuthenticati>on <name=">ApplyBasicAuthHeader<" Dis>pla<yNameAppl>yBasic<AuthHeader>/Di<splayName OperationEnco>de/Op<eration IgnoreUnresolved>Var<iablesfalse/IgnoreUnresolvedVariables Us>er <ref="BasicAuth.credentials.username">/< Password ref=&quo>t;BasicAuth.credentials.password"/ /BasicAuthenticationनीचे दी गई गड़बड़ी की वजह से डिप्लॉयमेंट नहीं हो सका:
BasicAuthenticationPolicy: AssignTo element must be present for Encode operation.
रिज़ॉल्यूशन
पक्का करें कि कोड में बदलने या डिकोड करने की कार्रवाई के लिए, <AssignTo> एलिमेंट की जानकारी, BasicAuthentication की नीति में बताई गई है.
ऊपर दिखाए गए उदाहरण को ठीक करने के लिए, नीति में <AssignTo>एलिमेंट को शामिल करें जैसा कि नीचे दिखाया गया है:
<?xml version="1.0" encoding="UTF-8&quo>t<; standalone="yes"?
BasicAuthenticati>on na<me="Ap>plyBasicAuthHeader&q<uot;
Dis>playN<ameApplyB>asicAu<thHeader/D>ispla<yName
OperationEncode>/Oper<ation
IgnoreUnresolved>Varia<blesfalse/IgnoreUnresolvedVariables
Us>er re<f="BasicAuth.credentials.username"/
> P<assword ref="BasicAut>h.credentials.password"</
Ass>i<gnTo createNew=">;false"request.header.Authorization/AssignTo
/BasicAuthentication
SourceRequired
गड़बड़ी का मैसेज
गड़बड़ी के इस मैसेज के साथ, Edge के यूज़र इंटरफ़ेस (यूआई) या Edge मैनेजमेंट एपीआई के ज़रिए, एपीआई प्रॉक्सी को डिप्लॉय नहीं किया जा सकता:
Error Deploying Revision revision_number to env_name BasicAuthenticationPolicy: Source element must be present for Decode operation.
गड़बड़ी के मैसेज का उदाहरण
Error Deploying Revision 2 to test
BasicAuthenticationPolicy: Source element must be present for Decode operation.
स्क्रीनशॉट का उदाहरण

वजह
अगर <Source> एलिमेंट को डिकोड करने की कार्रवाई के लिए इस्तेमाल की जाने वाली BasicAuthentication नीति में तय नहीं किया गया है, तो एपीआई प्रॉक्सी को डिप्लॉय नहीं किया जा सकेगा. अगर बुनियादी पुष्टि की नीति में <Operation> को Decode के तौर पर बताया गया है, तो <Source> एलिमेंट ज़रूरी है.
संक्रमण की जांच
एपीआई प्रॉक्सी में इस्तेमाल की गई, BasicAuthentication की सभी नीतियों की जांच करें. अगर कोई ऐसी नीति है जिसमें
<Source>एलिमेंट के बारे में नहीं बताया गया है और<Operation>एलिमेंट कोDecodeके तौर पर दिखाया गया है, तो गड़बड़ी की वजह यही है. अगर बुनियादी पुष्टि की नीति में<Operation>कोDecodeके तौर पर बताया गया है, तो<Source>एलिमेंट ज़रूरी है.नीचे दी गई बुनियादी पुष्टि करने की नीति का इस्तेमाल
Decodeकार्रवाई के लिए किया जाता है. हालांकि, इसमें<Source>एलिमेंट नहीं बताया गया है:<?xml version="1.0" encoding="UTF-8&quo>t<; standalone="yes"? BasicAuthenticati>on <name=">ApplyBasicAuthHeader<" Dis>pla<yNameAppl>yBasic<AuthHeader>/Di<splayName OperationDeco>de/Op<eration IgnoreUnresolved>Var<iablesfalse/IgnoreUnresolvedVariables Us>er <ref="BasicAuth.credentials.username">/ < Password ref="BasicA>uth.credentials.password&quo<t;/ Ass>i<gnTo createNew=">;false"request.header.Authorization/AssignTo /BasicAuthenticationनीचे दी गई गड़बड़ी की वजह से डिप्लॉयमेंट नहीं हो सका:
BasicAuthenticationPolicy: Source element must be present for Decode operation.
रिज़ॉल्यूशन
Decode ऑपरेशन के लिए इस्तेमाल किए जाने पर, यह पक्का करें कि <Source> एलिमेंट का इस्तेमाल, पुष्टि करने की बुनियादी नीति में किया गया हो.
ऊपर दिखाए गए उदाहरण को ठीक करने के लिए, नीति में <Source>एलिमेंट को शामिल करें, जैसा कि नीचे दिखाया गया है:
<?xml version="1.0" encoding="UTF-8&quo>t<; standalone="yes"?
BasicAuthenticati>on na<me="Ap>plyBasicAuthHeader&q<uot;
Dis>playN<ameApplyB>asicAu<thHeader/D>ispla<yName
OperationDecode>/Oper<ation
IgnoreUnresolved>Varia<blesfalse/IgnoreUnresolvedVariables
Us>er re<f="BasicAuth.credentials.username"/
> P<assword ref="BasicAut>h.credentials.password"</
Ass>ignTo< creat>eNew="false"reques<t.heade>r<.Authorization/Assig>nTo
Sourcerequest.header.Authorization/Source
/BasicAuthentication