Hello Antonio, The most probably in the API install wizard you have chosen OAuth2 option for which you need to do a little change in the web server config file as mentioned in the wizard and described here:
https://www.bacula.org/9.4.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION003131000000000000000 Or maybe you have done it already. In this case the problem can be with expired token. You can generate new token. On the Baculum API interface you can do it by a green arrow button. All the time you can switch Baculum API to simple HTTP Basic authentication option. If it isn't any from described above cases, then I propose to enable debug as described here: https://www.bacula.org/9.4.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION00350000000000000000 and check what is going in the debug file. I hope it helps. Best regards, Marcin Haba (gani) On Wed, 13 Nov 2019 at 22:31, Antonio Evora <aevo...@gmail.com> wrote: > > Hello, > I have installed and configured Baculum API. In installation progress, I > have click in all test button, passing all tests correctly. But when I > call the API (for example: http://mysrv.com:9096/api/v1/jobs?limit=10) I > receive this error: {"output":"Problem with authorization to Baculum > API.","error":6} > Any idea? > Best regards. > > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- "Greater love hath no man than this, that a man lay down his life for his friends." Jesus Christ "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie za przyjaciół swoich." Jezus Chrystus _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users