1616from vws_auth_tools import authorization_header , rfc_1123_date
1717
1818from vws .exceptions .custom_exceptions import (
19- OopsAnErrorOccurredPossiblyBadNameError ,
2019 ServerError ,
2120 TargetProcessingTimeoutError ,
2221)
@@ -178,12 +177,6 @@ def make_request(
178177 The response to the request made by `requests`.
179178
180179 Raises:
181- ~vws.exceptions.custom_exceptions.OopsAnErrorOccurredPossiblyBadNameError:
182- Vuforia returns an HTML page with the text "Oops, an error
183- occurred".
184-
185- This has been seen to happen when the given name includes a bad
186- character.
187180 ~vws.exceptions.custom_exceptions.ServerError: There is an error
188181 with Vuforia's servers.
189182 ~vws.exceptions.vws_exceptions.TooManyRequestsError: Vuforia is
@@ -202,9 +195,6 @@ def make_request(
202195 base_vws_url = self ._base_vws_url ,
203196 )
204197
205- if "Oops, an error occurred" in response .text :
206- raise OopsAnErrorOccurredPossiblyBadNameError (response = response )
207-
208198 if (
209199 response .status_code == HTTPStatus .TOO_MANY_REQUESTS
210200 ): # pragma: no cover
@@ -290,12 +280,9 @@ def add_target(
290280 inactive.
291281 ~vws.exceptions.vws_exceptions.RequestTimeTooSkewedError: There is
292282 an error with the time sent to Vuforia.
293- ~vws.exceptions.custom_exceptions.OopsAnErrorOccurredPossiblyBadNameError:
294- Vuforia returns an HTML page with the text "Oops, an error
295- occurred". This has been seen to happen when the given name
296- includes a bad character.
297283 ~vws.exceptions.custom_exceptions.ServerError: There is an error
298- with Vuforia's servers.
284+ with Vuforia's servers. This has been seen to happen when the
285+ given name includes a bad character.
299286 ~vws.exceptions.vws_exceptions.TooManyRequestsError: Vuforia is
300287 rate limiting access.
301288 """
0 commit comments