#Failed to Connect to https://api.themoviedb.org/

1 messages · Page 1 of 1 (latest)

high raft
marsh domeBOT
#

Welcome @high raft!

It looks like you have not yet completed the id:customize section of our Discord server, this will allow us to help you quicker.

Someone from <@&938443185347244033> will assist when they're available.

Including meta.log from the beginning is a huge help. Type !logs for more information.

After attaching your log, do not forget to hit the green check boxes when prompted by our bot.

#

You can press the "Close Post" button above or type /close at any time to close this post.

high raft
marsh domeBOT
#

📝 If you want to review this again, fisherd91:
:one: Right-click (or long press with phone) on the message that contains the log
:two: Select: Copy Message Link
:three: Use the command: /logscan <message_link> or !logscan <message_link> and paste the value copied from the previous step where you see <message_link> 📝

#
**User Info**

Author of Linked Message: fisherd91
Person who Invoked the Command: fisherd91
File Name: meta.log

Table of Contents:
Page 01: User Info
Page 02: Kometa Info
Page 03: Kometa Summary Info
Page 04: Kometa Config.yml YAML Validation
Page 05: Plex Configuration - Section 1
Page 06: Rec 01 - ❌⏱️ TIMEOUT ERROR
Page 07: Rec 02 - ❌ TMDB ERROR
Page 08: Rec 03 - ⚠️ [WARNING]

high raft
#

Refreshed the API Key and ran the following curl command to test and keep getthing this repsonse.

curl --request GET
--url 'https://api.themoviedb.org/3/search/movie?query=Batman&callback=test'
--header 'Authorization: Bearer API KEY'
--header 'accept: application/json'

{"status_code":7,"status_message":"Invalid API key: You must be granted a valid key.","success":false}

upper gust
#

Your API key appears to be invalid then

#

Try getting a new one from TMDb

#

TMDb doesn't get an invalid API Key response though, so idk what's happening there

high raft
#

@upper gust I have tried resetting the the key twice, replaced it in the config and it still giving me invalid response

upper gust
#

Are you getting a timeout or invalid key response

#

Your log shows a timeout

high raft
upper gust
#

Kometa makes a request and it either can't reach TMDb or doesn't get a response in time

#

Nothing Kometa can do about that unfortunately

high raft
#

When I click the url i get the invalid API key error.

upper gust
#

Yes because the URL doesn't contain your API key

#

If you turned on --log-requests you would see the full URL that it is attempting

#

Kometa redacts it in the console/log normally

#

You'll see a lot of network traffic if you turn on that flag

#

It probably won't give you any more info related to your error though

high raft
#

Hi, I believe I have found the issue, When I run the command in docker console "curl https://api.themoviedb.org/3/movie/popular?api_key=**APIKEY**", curl get a no response error. When I run the command in a windows terminal and in access the URL in the browser, both respond with a JSON data as expected.

So I moved the docker contained to the Host network, the container wouldn't start as it could not see the plex until I also moved plex to the Host network. After both of the Host network, I ran Kometa again and it seem to be working with no errors. I ran the curl command above in the docker console, it now responses with the JSON data.

I don't know what I did to mess with the original docker network to stop the API URL responding but happy it seems to be fixed.

Thank you @upper gust for your responses and help.

upper gust
#

Glad to hear you got it sorted

vague marlinBOT
#

antwanchild used !aenh

@high raft, anything else needed here? If not, please type /close and hit enter. Please respond within 24 hours of this message or it will be archived.