Why do I get "AxiosError" when submitting certain array datatypes to the MATLAB Production Server?
Show older comments
I can successfully deploy JSON requests to the MATLAB Production Server (MPS) in MATLAB R2022a when including data for variables like integer arrays. However, when including string arrays in the JSON input, I am unable to send the request to the MPS and get the following error:
AxiosError: Request failed with status code 400
I am following the documentation below for formatting string arrays in the JSON notation, so I can't figure out what the issue is:
https://www.mathworks.com/help/releases/R2022a/mps/restfuljson/json-representation-of-matlab-data-types.html
What is the reason for this issue?
Accepted Answer
More Answers (0)
Categories
Find more on RESTful API in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!