got it to work with postgres database
excluded create authenticty tokey for create temperature reading