Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending feedback form for Leo posts fails [bad request] #36780

Closed
Uni-verse opened this issue Mar 13, 2024 · 3 comments · Fixed by brave/brave-core#22578
Closed

Sending feedback form for Leo posts fails [bad request] #36780

Uni-verse opened this issue Mar 13, 2024 · 3 comments · Fixed by brave/brave-core#22578

Comments

@Uni-verse
Copy link
Contributor

Description:

Getting Bad Request for https://feedback.brave.com/1/ai/feedback/form, this seems to be because the rating id is invalid. Swapping the rating id with a valid id such as "rating_id": "8a14836f-0a4e-450f-90ae-334f62b76d4f" via proxy seems to be working (returning 200)

Network Activity:

req:

{
	"category": "Answer is not helpful",
	"feedback": "test",
	"locale": "en_US",
	"rating_id": "3",
	"ymd": "2024-03-13"
}

res:

{
	"Renderer": null,
	"statusCode": 400,
	"error": "Bad Request",
	"message": "invalid rating id"
}

Screenshot 2024-03-13 at 5 05 16 PM

Steps to Reproduce

  1. Enable Leo
  2. Submit query
  3. Long press on response, select Dislike Answer
  4. Tap on Add Feedback on the banner shown in UI
  5. Enter some text and submit form

Actual result:

IMG_5845

Expected result:

Should succeed

Reproduces how often: [Easily reproduced, Intermittent Issue]

Always

Brave Version:

  • Can you reproduce this issue with the most recent build from TestFlight? Yes
  • Can you reproduce this issue with the previous version of the current build from TestFlight? Yes
  • Can you reproduce this issue with the current build from AppStore? No

Device details:

iPhone

@kjozwiak
Copy link
Member

Closing as the above is being addressed/fixed via brave/brave-core#22578.

@kjozwiak
Copy link
Member

The above requires 1.63.177 or higher for 1.63.x verification 👍

@hffvld
Copy link
Contributor

hffvld commented Mar 15, 2024

Verified on iPhone 14 using version(s):

Device/OS: iPhone 14 / iOS 17.4
Brave build: 1.63 (177)
BraveCore: 1.63.177 (122.0.6261.128)

STEPS:

  1. Follow the steps from Sending feedback form for Leo posts fails [bad request] #36780 (comment)
  2. Verify

ACTUAL RESULTS:

  • Verified that feedback is sent and the message Feedback sent successfully is shown

1 2
1 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

5 participants