cancel
Showing results for 
Search instead for 
Did you mean: 

Sidecar returned with status 401 when try to connect DB

ramveer64
Product and Topic Expert
Product and Topic Expert
0 Kudos
504

Facing below error when upgrade the cds.services to version 1.34.8 and cloud-sdk to 4.5.0

Error: com.sap.cds.CdsException: com.sap.cds.CdsCommunicationException: Sidecar returned with status 401

2023-12-15T14:03:22.719+0000 [APP/PROC/WEB/0] STDOUT 2023-12-15T14:03:22.719Z INFO 8 --- [ntainer#0-0-C-1] c.s.q.q.s.QuestionnaireQualtricsService : Qualtrics Survey creation started.

2023-12-15T14:03:22.830+0000 [APP/PROC/WEB/0] STDOUT 2023-12-15T14:03:22.830Z ERROR 8 --- [ntainer#0-0-C-1] c.s.cloud.mt.tools.impl.ServiceCallImpl : A non temporary problem was detected. Service call returned with code 401

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT 2023-12-15T14:03:22.830Z ERROR 8 --- [ntainer#0-0-C-1] QualtricsEvaluationCreationKafkaConsumer : Error occurred during creating survey.

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT com.sap.cds.CdsException: com.sap.cds.CdsCommunicationException: Sidecar returned with status 401

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.mtx.impl.MetaDataAccessorImpl$Cache.getOrLoadIfStale(MetaDataAccessorImpl.java:249) ~[cds-mtx-2.4.1.jar:na]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.mtx.impl.MetaDataAccessorImpl.getCdsModel(MetaDataAccessorImpl.java:161) ~[cds-mtx-2.4.1.jar:na]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.model.DynamicModelProvider.get(DynamicModelProvider.java:57) ~[cds-services-impl-2.4.1.jar:na]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.runtime.CdsRuntimeImpl.getCdsModel(CdsRuntimeImpl.java:96) ~[cds-services-impl-2.4.1.jar:na]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.impl.request.RequestContextHelper.getModel(RequestContextHelper.java:32) ~[cds-services-impl-2.4.1.jar:na]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.utils.services.AbstractCqnService.getTargetEntity(AbstractCqnService.java:132) ~[cds-services-utils-2.4.1.jar:na]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.utils.services.AbstractCqnService.run(AbstractCqnService.java:48) ~[cds-services-utils-2.4.1.jar:na]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at com.sap.cds.services.utils.services.AbstractCqnService.run(AbstractCqnService.java:43) ~[cds-services-utils-2.4.1.jar:na]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at com.sap.qualtricsadapter.survey.service.SurveyServiceImpl.findByProgramId(SurveyServiceImpl.java:73) ~[classes/:1.0.0]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:na]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:na]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343) ~[spring-aop-6.0.12.jar:6.0.12]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:196) ~[spring-aop-6.0.12.jar:6.0.12]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-6.0.12.jar:6.0.12]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:751) ~[spring-aop-6.0.12.jar:6.0.12]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.validation.beanvalidation.MethodValidationInterceptor.invoke(MethodValidationInterceptor.java:141) ~[spring-context-6.0.12.jar:6.0.12]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:184) ~[spring-aop-6.0.12.jar:6.0.12]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:751) ~[spring-aop-6.0.12.jar:6.0.12]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:703) ~[spring-aop-6.0.12.jar:6.0.12]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at com.sap.qualtricsadapter.survey.service.SurveyServiceImpl$$SpringCGLIB$$0.findByProgramId(<generated>) ~[classes/:1.0.0]

2023-12-15T14:03:22.832+0000 [APP/PROC/WEB/0] STDOUT at com.sap.qualtricsadapter.questionnaire.service.QuestionnaireQualtricsService.saveSurveyInitialInfoOrGetExisting(QuestionnaireQualtricsService.java:143)

Accepted Solutions (0)

Answers (0)