Jump to content

Error 403 (Forbidden) when searching for movie with EmbyPy


durpflip

Recommended Posts

durpflip

Hello,

long time user of emby but new to the forums, sorry if it's breaking any rules!

I'm trying to use the embypy search function after initializing the connection between the system and the API server (i think?) however i am getting a 403 forbidden error when i search anything.

for example:

import embypy

emby = embypy.Emby(url="http://HIDDEN FOR PRIVACY", username="HIDDEN", password="HIDDEN") # Initialises Successfully
res = emby.search("Nobody") // Errors here

 

the error is:

RuntimeError: Unexpected JSON output (status: 403): "Forbidden"

 

how would i go about troubleshooting this?

Link to comment
Share on other sites

durpflip
21 hours ago, Luke said:

Hi, is there anything in the server log about it?

Hi Luke,

 

I've found three results in embyserver.txt regarding APIs as of now, but they're unrelated (i think). I will look into it further and report back, and will PM you the logs.zip file if you'd want to take a look. thanks!

Link to comment
Share on other sites

durpflip
8 hours ago, neik said:

Wondering what you use EmbyPy for or what it is capable of?
Does anyone have some insights?

i'm using it to create a discord bot that will stream my library to my own discord server.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...