I'm trying to update my certification profile details (address and phone number) but I get the error:
50041: Sorry, we are having a service interruption and we are unable to complete your transaction
Here the error details from the network tab in the browser:
https://api-examregistration.prod.mscert.microsoft.com/services/users/RegisterMasterUser
[{ErrorCode: 0,…}]
0: {ErrorCode: 0,…}
ErrorCode: 0
ErrorMessage: "User Profile is not registered.System.Data.Entity.Core.EntityCommandExecutionException: An error occurred while executing the command definition. See the inner exception for details. ---> System.Data.SqlClient.SqlException: Error 50000, Level 16, State 1, Procedure MSLCatalog.spGetStateProvinceDetails, Line 48, Message: ERROR: The provided countrycode doesnot exists in ExamRegistration
↵ at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
↵ at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
↵ at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
↵ at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
↵ at System.Data.SqlClient.SqlDataReader.get_MetaData()
↵ at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
↵ at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
↵ at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
↵ at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
↵ at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
↵ at System.Data.Entity.Infrastructure.Interception.InternalDispatcher`1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func`3 operation, TInterceptionContext interceptionContext, Action`3 executing, Action`3 executed)
↵ at System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext)
↵ at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
↵ --- End of inner exception stack trace ---
↵ at System.Data.Entity.Core.EntityClient.Internal.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
↵ at System.Data.Entity.Core.Objects.ObjectContext.CreateFunctionObjectResult[TElement](EntityCommand entityCommand, ReadOnlyCollection`1 entitySets, EdmType[] edmTypes, ExecutionOptions executionOptions)
↵ at System.Data.Entity.Core.Objects.ObjectContext.<>c__DisplayClass47`1.<ExecuteFunction>b__46()
↵ at System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
↵ at System.Data.Entity.Core.Objects.ObjectContext.<>c__DisplayClass47`1.<ExecuteFunction>b__45()
↵ at System.Data.Entity.SqlServer.DefaultSqlExecutionStrategy.Execute[TResult](Func`1 operation)
↵ at System.Data.Entity.Core.Objects.ObjectContext.ExecuteFunction[TElement](String functionName, ExecutionOptions executionOptions, ObjectParameter[] parameters)
↵ at Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.RetryPolicy.ExecuteAction[TResult](Func`1 func)
↵ at ExamRegistration.DataAccess.DataAccessExtensions.WithRetry[T](Func`1 function) in D:\a\1\s\Services\ExamRegistration.Services\ExamRegistration.DataAccess\DataAccessExtensions.cs:line 85
↵ at ExamRegistration.Services.Entities.UserMasterProfileLogicProvider.validateProfile(UserMasterProfile storedprofile) in D:\a\1\s\Services\ExamRegistration.Services\ExamRegistration.UserManagement\LogicProviders\Implementations\UserMasterProfileLogicProvider.cs:line 498
↵ at ExamRegistration.Services.Entities.UserMasterProfileLogicProvider.SaveUserMasterProfile(UserMasterProfile masterProfile, UpdateValues updateFlags, ValidationValues validationFlags) in D:\a\1\s\Services\ExamRegistration.Services\ExamRegistration.UserManagement\LogicProviders\Implementations\UserMasterProfileLogicProvider.cs:line 169
↵ at ExamRegistration.Services.UserService.RegisterMasterUser(UserMasterProfile masterProfile) in D:\a\1\s\Services\ExamRegistration.Services\ExamRegistration.Services\Services\Implementations\UserService.cs:line 386"
ErrorMessageCode: 50041
ErrorParameters: null
FieldName: null
ObjectName: null
*CountryCode field in the request payload is "KZ"