Some more info from onging testing
I have placed a function node in front of the HTTP request and tried almost all the permutations i can find on the forum through searching
The flow below is what produced the error above
[{"id":"6028717e.571d7","type":"inject","z":"88029ce.abbab6","name":"Check Prices","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"300","topic":"","payload":"","payloadType":"date","x":230,"y":500,"wires":[["416043a5.94179c"]]},{"id":"416043a5.94179c","type":"function","z":"88029ce.abbab6","name":"set headers and change Postcode here","func":"//msg.headers = {};\n//msg.headers ['Content-Type'] = 'application / json';\n//msg.headers ['Authorization:Bearer'] = 'psk_16cdf04f4b778a8f0647d66b226189e3';\n\n//return msg;\n\n\nmsg.headers = {\n Authorization: \"Bearer=\"+\"psk_16cdf04f4b778a8f0647d66b226189e3\"\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":400,"y":440,"wires":[["a2b6857.bc69078"]]},{"id":"a2b6857.bc69078","type":"http request","z":"88029ce.abbab6","name":"","method":"POST","ret":"txt","paytoqs":"ignore","url":"https://api.amber.com.au/v1/sites","tls":"","persist":false,"proxy":"","authType":"","x":430,"y":540,"wires":[["72c15da3.67bcb4","d0ebe41a.dbc338","d0c5c476.41e9f8","9394e281.e1baa","3ebe8a6.c2cc776","fd55653d.254eb8","f766f49b.2c2868"]]},{"id":"72c15da3.67bcb4","type":"debug","z":"88029ce.abbab6","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":660,"y":520,"wires":[]}]
Craig