HTTP Header Fields

The following fields are returned upon and HTTP or HTTPS requests:

FieldDescriptionExamples
HTTP ErrorThe protocol error numbers404 or 502
x-tlp-err-codeOculus module and error code numberclient_10001
x-tlp-errorOculus main error messageAuthentication failed
x-tlp-err-msgOculus elaborated message and actionsAuthentication failed. Check your credentials or your account status

Getting HTTP header fields

Testing from command line

To view and test your settings, or restoring an issue, you can run a curl command from your shell prompt and add the option flag -v or i. These flags will run curl in verbose mode and print out the header fields, including the custom error code and message.

curl -v [rest of curl command options]

To see a more compact view with the header fields response only use the -i option for curl:

curl -i [rest of curl command options]

curl Command snippet

curl command snippet, with all required zone parameters is available in the Overview tab in Oculus control panel for the zone you are working on.

Accessing via programming language

Oculus HTTP header fields can be accessed thru your programming language, as any other HTTP header field.

Error Catalog

HTTP Error 400

x-tlp-err-codex-tlp-errorx-tlp-err-msg
client_10060Proxy Error: ip_requested_not_allocated_by_customerRequested IP ##.##.##.## is not allocated to this zone. Select an IP that is allocated to this zone or skip the -ip parameter in proxy username

HTTP Error 401

x-tlp-err-codex-tlp-errorx-tlp-err-msg
client_10050Auth failed: IP blacklisted [IP]Auth Failed IP blacklisted: [IP]

HTTP Error 403

x-tlp-err-codex-tlp-errorx-tlp-err-msg
client_10070No ProtocolProtocol was missing from original request. Please add either HTTP or HTTPS and retry
client_10080No Destination HostNo destination host. Destination host is missing or incorrect. Check your request parameters and try again
client_10090You are trying to use Scraping Browser zone as regular proxyYou are trying to use Scraping Browser zone as regular proxy. A browser should be used to access this zone
policy_20010Bad protocolThe protocol you are using to access our proxy is not supported. Oculus supports HTTP, HTTPS & SOCKS5 upon special approval. Please fix your protocol and try again
policy_20020Bad portBad Port used

HTTP Error 407

If you get HTTP error 407, this implies there is an error in authentication. This can be due to incorrect credentials or due to your account being suspended.

x-tlp-err-codex-tlp-errorx-tlp-err-msg
client_10000Authentication failedInvalid authentication: check credentials and retry. Oculus credentials include your account ID, zone name and password
client_10001Invalid AuthInvalid authentication: check credentials and retry
client_10010Proxy Authentication RequiredNo proxy credentials provided. Please add credentials and try again.
client_10020Account is suspendedLogin to https://oculusproxies.com/ to activate your account
client_10030Authentication failedYou are not allowed to access our API via this IP. Please verify your settings or whitelist this IP.
client_10040KYC RequiredKYC Required

HTTP Error 429

x-tlp-err-codex-tlp-errorx-tlp-err-msg
client_10110Your limited trial mode account exceeded the allowed rate limitsYour limited trial mode account exceeded the allowed rate limits