not a valid image file type error (.glb)

36 2 2

I am uploading an image with a post like this:

my_request = {
        "src": ""


and a post like this:

    response ='https://{}:{}{}/images.json'.format(username, password,, json=my_request)


I get the following error:

{"errors":{"image":["\/glb\/BFRBTN.glb is not a valid image file type."]}}


Why would this be? Why is it escaping the forward slashes? Why is it glb/BFRBTN.glb and not recognizerd as BFRBTN.glb?

I never wanted to upload to Azure in the first place. As a secondary question, is there a way to upload directly from the file system?