Robin Huiser is an experienced, hands-on cloud native software and DevOps architect responsible for design and and implementation of microservice based solutions within the financial industry.
{"Severity":"ERROR","Code":"22P02","Message":"invalid input syntax for type integer: \"fe587612-c134-40b8-954b-b199bf51a87e\"","Detail":"","Hint":"","Position":0,"InternalPosition":0,"InternalQuery":"","Where":"","SchemaName":"","TableName":"","ColumnName":"","DataTypeName":"","ConstraintName":"","File":"numutils.c","Line":323,"Routine":"pg_strtoint32"}
I tried to add an entry - but all seem to fail:
... this results into:
try converting the param to a string in the function strconv.atoi. I'll double check why it was working for me in a bit.
The reason it works for me is cause I send the body via JSON so it's an integer, but if you send it via URL query it will be a string