Problem with webreading using webread and weboption
Mostra commenti meno recenti
I have a link which I need to read information from it and write my info in the web. I used the codes below:
url = 'http://abc/rest_api/qc_steps.json'; (abc is just an example)
options = weboptions('RequestMethod', 'post', 'ArrayFormat','json');
data = webread(url,options)
I get this error:
Error using readContentFromWebService (line 45)
The server returned the status 500 with message "Internal Server Error : An error occurred (23000): SQLSTATE[23000]: Integrity constraint violation: 1048
Column 'field_qc_step_image_ref_target_id' cannot be null" in response to the request to URL
http://abc/rest_api/qc_steps.json.
which "field_qc_step_image_ref_target_id" is an information in the link. But I don't know how to solve it! Can anyone help?
1 Commento
faran
il 16 Nov 2018
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Web Services in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!