I made some posts through Practitest API and when we put any accent in the json post in “description” or “expected-results” or “actual-results” the post request fail.
It would be possible to fix it to avoid any problems when we work in our case in french which gets accents ?
Thank you in advance for your help and your answer.
Hello Thomas,
The issue with this specific request was not the accent letters. Moreover, I can confirm that these letters can be part of any text values in API request.
The issue in this request was a different type of double quotation marks in the actual results row - both in “actual-results”, and the value itself. It is different from expected results row as well.
This type of quotation marks you’re using there comes in conflict with json format.
Please adjust the marks and let us know if the issue persists.
If it does, please send us the data again.
Additional reason for 500 error can be just a slight misconnection between our servers and yours. In this case, resending of a request should be successful.
I send you a screenshot with the double quotation used to analyze better with you, I have used the same as mentionned in API Practitest documentation and it fails.
I have tried to use simple quotation and it follows failing.
There is no subjects about json format because when I try the same request that I put in the json file (which contains the accent), the same test without any accent works perfectly and I could post some results in this way : putting accent cause a request error.
Hello Thomas,
Again the same issue with the quotations.
The first part of a json was with the incorrect quotes. I needed to fix them all in the Postman and the run passed successfully, with all the relevant accent:
I believe that you should contact our Customer Support for the session, during which they can analyze online what exactly is going wrong and fix accordingly.