Closed Leo32onGIT closed 8 months ago
Character length is not calculated correct, when using + instead of spacing in character endpoint.
Issue: Throws a 400 http code with error 10006:\ the provided character name has a word too big
400
10006
the provided character name has a word too big
Example:
Temporary workaround: Ensure you replace + signs with space or %20 in your code. E.g:
+
space
%20
https://api.tibiadata.com/v4/character/Jamil Ondeta Temconfusao
https://api.tibiadata.com/v4/character/Jamil%20Ondeta%20Temconfusao
This is an easily worked around issue, but it doesn't exist in v3: https://api.tibiadata.com/v3/character/Jamil+Ondeta+Temconfusao
So it may cause friction migrating, especially as some people may use + as spaces in their code-base due to habit as that is what the Tibia website uses.
Character length is not calculated correct, when using + instead of spacing in character endpoint.
Issue: Throws a
400
http code with error10006
:\the provided character name has a word too big
Example:
Temporary workaround: Ensure you replace
+
signs withspace
or%20
in your code. E.g:https://api.tibiadata.com/v4/character/Jamil Ondeta Temconfusao
https://api.tibiadata.com/v4/character/Jamil%20Ondeta%20Temconfusao
This is an easily worked around issue, but it doesn't exist in v3: https://api.tibiadata.com/v3/character/Jamil+Ondeta+Temconfusao
So it may cause friction migrating, especially as some people may use
+
as spaces in their code-base due to habit as that is what the Tibia website uses.