Hi Sebastian, I created a ubuntu container, activated powershell on ubuntu and tried to run the commands below:
PS / script / sq>. \ Sq config add notifications notifications: backup-config
App added.
PS / script / sq>. \ Sq config use notifications
App selected.
but tthe backup command return an error:
PS / script / sq>. \ Sq backup create notificacoes.zip
ERROR: System.Security.SecurityException: Failed to retrieve access token for client ‘notifications: backup-config’, got HTTP BadRequest.
at Squidex.ClientLibrary.Configuration.Authenticator.GetBearerTokenAsync ()
at Squidex.ClientLibrary.Configuration.CachingAuthenticator.GetBearerTokenAsync ()
at Squidex.ClientLibrary.Utils.AuthenticatingHttpMessageHandler.SendAsync (HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.SendAsyncCore (HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken)
at Squidex.ClientLibrary.Management.BackupsClient.PostBackupAsync (String app, CancellationToken cancellationToken)
at Squidex.CLI.Commands.App.Backup.Create (CreateArguments arguments)
at CommandDotNet.Execution.InvocationResultExtensions.GetResultCodeAsync (Object value)
at CommandDotNet.AppRunner.HandleException (Exception ex, IConsole console, CommandContext commandContext)
at CommandDotNet.AppRunner.Run (String [] args)
at Squidex.CLI.Program.Main (String [] args)
the same command runs in powershell in windows with no errors.