class_docstr: Data provider communicating with API server.
class_docstr_tok: ["Data","provider","communicating","with","API","server","."]
code: def _raise_detailed_error(self, request):
      if request.status_code != 200:
          raise ValueError(str(request.__dict__))
  
      data = request.json()
      if "status" in data.keys():
          if data["status"] == "ok":
              return
  
          raise ValueError(data["status"])
      else:
          raise ValueError(json.dumps(data))
  
imports: import requests
  import json
  import time
  import re
  from studio.util import logs
  from studio.auth import get_auth
  from studio.credentials.credentials import Credentials
  from studio.storage.storage_setup import get_storage_verbose_level
  from studio.storage.http_storage_handler import HTTPStorageHandler
  from studio.experiments.experiment import experiment_from_dict
  from studio.util.util import retry, check_for_kb_interrupt
label_desc: Use image node_id 20 for calling the HTTPProvider obj's underlying member method code with example usage: obj._raise_detailed_error(request) without return types