How to catch this error : Error using matlab.int​ernal.webs​ervices.HT​TPConnecto​r/copyCont​entToByteA​rray (line 373)

16 ビュー (過去 30 日間)
I am using webread so I can download all the data i need for my research. I always encounter this error
Error using matlab.internal.webservices.HTTPConnector/copyContentToByteArray (line 373)
The server returned the status 503 with message "Service Unavailable" in response to the request to URL
How can I catch this error so I can return back and do the process on the same data point?
  1 件のコメント
Walter Roberson
Walter Roberson 2021 年 10 月 3 日
503 basically means that the server is down or busy.
Historically, I have seen some places return 503 when they should have returned 401 (unauthorized) or 403 (forbidden), meaning that the current user is not permitted to ask for that resource. 503 is not the correct response in such cases, but it has been observed "in the wild".

サインインしてコメントする。

回答 (0 件)

カテゴリ

Find more on Get Started with MATLAB 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!

Translated by