You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While integrating Aptabase into my Unity game, I encountered this error multiple times:
Failed to perform web request due to 400 and response body HTTP/1.1 400 Bad Request
After investigating the issue with mitmproxy, I found out that AppVersion has a maximum length of 20 and OSVersion - 30.
The AppVersion length restriction is not so bad, because I can always trim it on the client-side. But as for OSVersion on Linux, the Aptabase Unity SDK automatically sets it to something like Linux 6.1 Debian GNU/Linux 12 64bit, which is a bit too long - and there is no way to change it, except maybe forking the SDK and trimming it manually.
Could you increase max lengths of those to for example 50, or add a setting to adjust that per-project? It's really annoying. I can submit a PR if it's not an issue to increase those restrictions.
The text was updated successfully, but these errors were encountered:
Hi,
While integrating Aptabase into my Unity game, I encountered this error multiple times:
After investigating the issue with mitmproxy, I found out that AppVersion has a maximum length of 20 and OSVersion - 30.
The AppVersion length restriction is not so bad, because I can always trim it on the client-side. But as for OSVersion on Linux, the Aptabase Unity SDK automatically sets it to something like
Linux 6.1 Debian GNU/Linux 12 64bit
, which is a bit too long - and there is no way to change it, except maybe forking the SDK and trimming it manually.Could you increase max lengths of those to for example 50, or add a setting to adjust that per-project? It's really annoying. I can submit a PR if it's not an issue to increase those restrictions.
The text was updated successfully, but these errors were encountered: