{"id":16998978,"url":"https://github.com/maxandersen/qai","last_synced_at":"2025-06-26T20:38:26.682Z","repository":{"id":66829038,"uuid":"593643541","full_name":"maxandersen/qai","owner":"maxandersen","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-26T14:30:47.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-22T07:31:35.139Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxandersen.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-26T14:16:52.000Z","updated_at":"2023-01-26T14:43:49.000Z","dependencies_parsed_at":"2023-02-21T06:16:15.193Z","dependency_job_id":null,"html_url":"https://github.com/maxandersen/qai","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/maxandersen/qai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fqai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fqai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fqai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fqai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxandersen","download_url":"https://codeload.github.com/maxandersen/qai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fqai/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262142359,"owners_count":23265722,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T04:06:41.996Z","updated_at":"2025-06-26T20:38:26.627Z","avatar_url":"https://github.com/maxandersen.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenAI Quarkus Exception Explainer\n\nGet openai token from https://beta.openai.com/account/api-keys\n\nThen do this:\n\n```\nexport OPENAI_TOKEN=yoursecretkey\njbang qai.java csrf.txt\n```\n\nTry out with other txt files containing a java stacktrace.\n\n\nExamples:\n\n[cxf.txt](cxf.txt):\n\nThis stacktrace suggests that the application is encountering an unmarshalling error when it tries to process an XML document. This is likely due to either incorrect XML or an incorrect configuration of the application. \n\nThe solution is to first confirm the XML is valid and then to validate the application's configuration. This could include checking the application's XML bindings and making sure they match the expected format. Additionally, it may be necessary to update the application's XML processing library to the latest version to ensure compatibility issues aren't the cause.\n\n[csrf.txt](csrf.txt):\n\nThis stacktrace suggests that the CSRF (Cross-site request forgery) filter is unable to set the csrf_token property. This is likely due to misconfiguration of the CSRF filter itself or the application code not setting the csrf_token property before issuing the request. \n\nThe solution would be to check the configuration of the CSRF filter, ensure that the application code is properly setting the csrf_token property, and verify that the API calls are properly authorized.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxandersen%2Fqai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxandersen%2Fqai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxandersen%2Fqai/lists"}