Help Center/ ModelArts/ Troubleshooting/ Training Jobs/ OBS Operation Issues/ Error Message "ValueError: Invalid endpoint: obs.xxxx.com" Is Displayed in Logs
Updated on 2025-06-06 GMT+08:00

Error Message "ValueError: Invalid endpoint: obs.xxxx.com" Is Displayed in Logs

Symptom

When a training job uses TensorBoard to directly write data to an OBS path, error message "ValueError: Invalid endpoint: obs. xxxx.com" is displayed in logs.

Possible Causes

The possible causes are as follows:

Data may be unstable if the TensorBoard file is directly written to OBS.

Solution

Locally write the TensorBoard file and then copy it to OBS.

Summary and Suggestions

Before creating a training job, use the ModelArts development environment to debug your training code and minimize migration errors.