-
Notifications
You must be signed in to change notification settings - Fork 291
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
Unable to report a Stop Problem #1054
Comments
I am suspicious but have not confirmed that the amount of text/characters played a role. This is the text I entered in the "problem description" field if it is useful for reproducing:
|
@mds08011 Thanks for the great report! I'll take a look. |
I can confirm it's about the length of the user comment, after investigating with a word count exceeding around ~ 50 words it fails response code: 500 (Internal Server Error) HTTP servers and clients often have limits on the maximum length of URLs they can handle. This limit can vary depending on the server software, and configuration. To resolve this issue, we can consider sending large amounts of data, such as lengthy comments, in the request body instead of appending them directly to the URL. I can work on this issue with the backend team @aaronbrethorst |
After investigating the API and running the server in my machine using docker I tried to send userComment in the body instead of in the parameters, using POST but I got a null response, after checking the database table using the comment was sent and saved in the database but I got null in the response, i know maybe the API is not ready for receiving the user comment in the body but it's actually received it but I got wrong response, to fix this issue we need to modify the API to allow getting a successful message 1: First the table of reports is empty2: I will make a request but i will send user comment in the body3: Checking the table againThe request is successful but we are receiving a wrong response, fixing the API to allow receiving |
Summary:
I tried to report an issue with a bus stop via the "Stop Problem" feedback channel but got a vague "unable to send" failure message.
Steps to reproduce:
Expected behavior:
I expected the app to submit my issue.
Observed behavior:
I message reading "Unable to send the report. Try again?" appears. The report fails to send upon retry.
Device and Android version:
App Version: 2.8.0
Model: Pixel 2
OS Version: 11 / 30
Google Play Services App: 20.42.17 (150400-342117392)
Google Play Services Library: 12451000
Region/API: San Diego (selected automatically)
Screenshots:
The text was updated successfully, but these errors were encountered: