Ran into selinux issue, tried to use UI to report it and got: -- Running analyze_BodhiUpdates --- Looking for similar problems in bugzilla
--- Running report_Bugzilla --- Checking for duplicates Bug search failed. Server says: 400 Bad Request Creating a new bug... Failed to create bug. Server says: 400 Bad Request {"code":306,"documentation":" https://bugzilla.redhat.com/docs/en/html/api/index.html%22,%22error%22:true,... API key you specified is invalid. Please check that you typed it correctly."} ('report_Bugzilla' exited with 1)
API keys expire from time to time. Login to https://bugzilla.redhat.com/, select Preferences, then find "API Keys" at the top. Create a new API key. Create or modify ~/.config/python-bugzilla/bugzillarc with these contents:
[bugzilla.redhat.com] api_key=[ID of the API key you just generated]
On Fri, May 22, 2026 at 7:40 AM Neal Becker ndbecker2@gmail.com wrote:
Ran into selinux issue, tried to use UI to report it and got: -- Running analyze_BodhiUpdates --- Looking for similar problems in bugzilla
--- Running report_Bugzilla --- Checking for duplicates Bug search failed. Server says: 400 Bad Request Creating a new bug... Failed to create bug. Server says: 400 Bad Request {"code":306,"documentation":"https://bugzilla.redhat.com/docs/en/html/api/index.html%22,%22error%22:true,... API key you specified is invalid. Please check that you typed it correctly."} ('report_Bugzilla' exited with 1)
-- Those who don't understand recursion are doomed to repeat it -- _______________________________________________ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
On Fri, May 22, 2026 at 10:48 AM Jerry James loganjerry@gmail.com wrote:
API keys expire from time to time. Login to https://bugzilla.redhat.com/, select Preferences, then find "API Keys" at the top. Create a new API key. Create or modify ~/.config/python-bugzilla/bugzillarc with these contents:
[bugzilla.redhat.com] api_key=[ID of the API key you just generated]
On Fri, May 22, 2026 at 7:40 AM Neal Becker ndbecker2@gmail.com wrote:
Ran into selinux issue, tried to use UI to report it and got: -- Running analyze_BodhiUpdates --- Looking for similar problems in bugzilla
--- Running report_Bugzilla --- Checking for duplicates Bug search failed. Server says: 400 Bad Request Creating a new bug... Failed to create bug. Server says: 400 Bad Request {"code":306,"documentation":"
https://bugzilla.redhat.com/docs/en/html/api/index.html%22,%22error%22:true,... API key you specified is invalid. Please check that you typed it correctly."}
('report_Bugzilla' exited with 1)
Creating that file did not solve the problem, but running
secret-tool clear libreportEventConfig report_Bugzilla
and then restarting the bug reporting tool, it asked for the API key, and then succeeded.