BackupsClient GetRestoreJobAsync fails with 404 error

I have…

  • [x] Checked the logs and have provided the logs if I found something suspicious there

The log show the request to the /api/restore endpoint

I’m submitting a…

  • [x] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

Calls to BackupsClient.GetRestoreJobAsync returns nothing

Within SquidexClient GetRestoreJobAsync method in “generated” the following call throws an exception that is not caught. When the SquidexClient code is changed to catch the exception is shows a 404 page not found for /api/restore:

await client_.SendAsync(request_, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false);

Expected behavior

The method should return the existing restore jobs or an empty set

Minimal reproduction of the problem


  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [x] Self hosted with other version
  • [ ] Cloud version

Version: [VERSION]
Server 4.4

Are you sure that there is a job running at the moment?