I've encountered an issue with the JSON responses from the API. It seems that there is a hidden character (likely a Byte Order Mark or BOM) at the beginning of the response. This is causing JSON parsing errors on the client side. It appears to cause problems when trying to retrieve service categories and also employees, but those are the only ones I've tested. You may have this issue throughout.
here are some possible ways to resolve the issue:
Verify that the server is not including a BOM in the JSON response. BOMs are unnecessary in JSON and can cause parsing issues.
Ensure the Content-Type header is set correctly to application/json; charset=utf-8.
Sanitize the output to remove any hidden characters or stray whitespace before the JSON begins.
Validate the JSON response to ensure it is compliant with JSON standards.
Let me know if I can provide additional details or debugging information to assist.
Thanks for reaching out to us. Can you provide us the exact use case details, more information or perhaps some screenshots? May I also ask for the WP admin credentials?
We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties.
You can write credentials here just check PRIVATE Reply so nobody can see them except us.
simply request employees using the api from any one of your websites and then try and validate the JSON that is returned. you will see that it wont pass validation.
Apologies for the delay in getting back to you. I’ve forwarded your use case to our development team for further troubleshooting. They are investigating, and as soon as I have their feedback, I’ll get back to you right away.
Thank you so much for your patience and understanding in the meantime.
Could you verify if something else, such as another plugin or the server itself, might be adding these unexpected characters to the JSON response? We haven’t encountered this issue in other reports, so it might be specific to your environment.
Apologies for the delayed answer. Please note that we don't work on weekends. I've also forwarded this information to developers. As soon as I receive the feedback, I will get back to you with the response.
Thank you again for your patience and understanding.
I've encountered an issue with the JSON responses from the API. It seems that there is a hidden character (likely a Byte Order Mark or BOM) at the beginning of the response. This is causing JSON parsing errors on the client side. It appears to cause problems when trying to retrieve service categories and also employees, but those are the only ones I've tested. You may have this issue throughout.
here are some possible ways to resolve the issue:
Let me know if I can provide additional details or debugging information to assist.
Thank you for your help!
-Mike
Hi Michael,
Thanks for reaching out to us. Can you provide us the exact use case details, more information or perhaps some screenshots? May I also ask for the WP admin credentials?
We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties.
You can write credentials here just check PRIVATE Reply so nobody can see them except us.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
simply request employees using the api from any one of your websites and then try and validate the JSON that is returned. you will see that it wont pass validation.
Hi Michael,
I hope this email finds you well!
Apologies for the delay in getting back to you. I’ve forwarded your use case to our development team for further troubleshooting. They are investigating, and as soon as I have their feedback, I’ll get back to you right away.
Thank you so much for your patience and understanding in the meantime.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Michael,
Could you verify if something else, such as another plugin or the server itself, might be adding these unexpected characters to the JSON response? We haven’t encountered this issue in other reports, so it might be specific to your environment.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Michael,
Apologies for the delayed answer. Please note that we don't work on weekends. I've also forwarded this information to developers. As soon as I receive the feedback, I will get back to you with the response.
Thank you again for your patience and understanding.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Michael,
We tried the API that you sent, and here is our response from Postman:
And here is the validation after using an online tool, such as this one: https://jsonlint.com/.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables