Hello Antonio,

I have just checked. This issue with ~ and # characters is a bug in
Baculum API. Thanks for catching it.

It will be fixed in the next release.

Best regards,
Marcin Haba (gani)

On 21.11.2019 12:40, Antonio Évora wrote:
> Hi Marcin.
> 
> I find the problem. The problem was with the password (this had ~ and #
> character). Using a password without special chars run perfectly.
> 
> Best regards and thanks for all!!
> 
> El 14/11/19 a las 6:09, Marcin Haba escribió:
>> 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
>>
>>


_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to