Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
thanet31756
Posts: 1
Joined: Thu Jun 27, 2024 5:28 pm

Invalid domain error

Thu Jun 27, 2024 5:38 pm

I call both vip-api and api endpoint (I'm VIP user btw)

I got result from normal api endpoint but "invalid domain from vip-api endpoint.

curl --location 'https://vip-api.opensubtitles.com/api/v ... NTRAST.mp4' \
--header 'Api-Key: {apikey}' \
--header 'User-Agent: Emby v1.2'

curl --location 'https://api.opensubtitles.com/api/v1/su ... NTRAST.mp4' \
--header 'Api-Key: {apikey}'' \
--header 'User-Agent: Emby v1.2'

I do nslookup for both endpoint got the same IP

Non-authoritative answer:
Name: api.opensubtitles.com
Address: 104.21.75.83
Name: api.opensubtitles.com
Address: 172.67.217.148

Non-authoritative answer:
Name: vip-api.opensubtitles.com
Address: 172.67.217.148
Name: vip-api.opensubtitles.com
Address: 104.21.75.83

Could you please help what did I do wrong?

User avatar
oss
Site Admin
Posts: 6196
Joined: Sat Feb 25, 2006 11:26 pm
Contact: Website

Re: Invalid domain error

Fri Jun 28, 2024 11:39 am

hi, do login, take your token and from now on always pass it to requests, specially, if you do requests on vip-api domain. If you add Bearer token, it should work.

Return to “Developing”

Who is online

Users browsing this forum: No registered users and 3 guests