Search Requests from Python Returns Error 500

Hi Everyone,
I have been working on implementing the Airbus SPOT/PHR data into a python program and I have been getting an error 500 in the program. Testing the JSON request in Postman results in the intended response.
python generated JSON file:

    "provider": "Airbus",
    "bounds": {
        "geometry": {
            "type": "Polygon",
            "coordinates": [
                    [-80.169732, 43.567703],
                    [-80.186309, 43.579423], 
                    [-80.205621, 43.565087], 
                    [-80.18582, 43.555801], 
                    [-80.169732, 43.567703]
    "data": [
            "constellation": "SPOT"


header = {"Authorization" : "Bearer " + token["access_token"], "Content-Type": "application/json"}

request Function:

r = = "", json = payload, headers = header)



	<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
	<title>Error 500 Internal Server Error</title>

	<h2>HTTP ERROR 500</h2>
	<p>Problem accessing /api/v1/dataimport/search. Reason:
		<pre>    Internal Server Error</pre>
	<hr><a href="">Powered by Jetty:// 9.4.3.v20170317</a>
	<hr />



Would there be any reason why this would happen?

Hi @jsulik,
I would bet that there is an issue with authorization.
I see you have managed to order some items in the past few days - should I assume you solved the issue?

Hi @gmilcinski,
Thanks for your reply, and I did get it to work. The provider element was supposed to be all uppercase, rather than the mix of uppercase and lowercase. The API returns error 500 if there is a typographical error in the JSON file.