python API tutorial error

3 posts in this topic


I am trying to follow th python_API tutorial but I cant connect to my server. What am I missing?

I am following the code from the tutorial with my server, api key, and username but I get the following error

>>> session = ftrack_api.Session(
...     server_url='',
...     api_key='7545384e-a653-11e1-a82c-f22c11dd25eq',
...     api_user='martin'
... )


Traceback (most recent call last):
  File "<stdin>", line 4, in <module>
  File "C:\Python27\lib\site-packages\ftrack_api\", line 224, in __init__
    self._server_information = self._fetch_server_information()
  File "C:\Python27\lib\site-packages\ftrack_api\", line 1317, in _fetch_server_information
    result = self._call([{'action': 'query_server_information'}])
  File "C:\Python27\lib\site-packages\ftrack_api\", line 1620, in _call
    raise ftrack_api.exception.ServerError(error_message)
ftrack_api.exception.ServerError: Server reported error: HTTPMethodNotAllowed()

Share this post

Link to post
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