View Issue Details

IDProjectCategoryView StatusLast Update
0007976Talerlibeufin-bankpublic2023-11-29 01:30
Reportersebasjm Assigned ToAntoine A  
PrioritynormalSeveritymajorReproducibilityrandom
Status closedResolutionfixed 
Product Version0.9.4 
Target Version0.9.3Fixed in Version0.9.3 
Summary0007976: server replied with 500 and sql in it
Description$ curl 'https://bank.taler.grothoff.org/api/accounts/q/transactions' \
  -H 'Accept: application/json' \
  -H 'Accept-Language: en-US,en;q=0.9' \
  -H 'Authorization: Bearer secret-token:Z4BJH6VMAMXEYK42Z8JM25DHP57J996AC5E56K5ZP9A6CQB0HJ2G' \
  -H 'Cache-Control: no-cache' \
  -H 'Connection: keep-alive' \
  -H 'Content-Type: application/json' \
  -H 'Origin: https://bank.taler.grothoff.org' \
  --compressed,"amount":"STATER:12"}' \n/SANDBOXX/DE989651?receiver-name=Never+given.&message=G2TY693Y9KJTBG13P345ZVSXJV3SEXZYPCCNNCF
{
    "code": 60,
    "hint": "ERROR: duplicate key value violates unique constraint \"taler_exchange_incoming_reserve_pub_key\"\n Detail: Key (reserve_pub)=(\\x80b5e3247e4ce5a5c023b0c85fef3d96c79777feb3195ab1eda75662b0c7cda3) already exists.\n Where: SQL statement \"INSERT\n INTO taler_exchange_incoming (\n reserve_pub,\n bank_transaction\n) VALUES (\n in_reserve_pub,\n in_tx_row_id\n)\"\nPL/pgSQL function register_incoming(bytea,bigint,bigint) line 4 at SQL statement"
TagsNo tags attached.

Activities

Antoine A

2023-11-20 19:27

developer   ~0020651

bank no longer crash and bounce the malformed transaction

Issue History

Date Modified Username Field Change
2023-11-06 19:06 sebasjm New Issue
2023-11-06 19:06 sebasjm Status new => assigned
2023-11-06 19:06 sebasjm Assigned To => Antoine A
2023-11-20 19:27 Antoine A Status assigned => resolved
2023-11-20 19:27 Antoine A Resolution open => fixed
2023-11-20 19:27 Antoine A Note Added: 0020651
2023-11-29 01:28 Christian Grothoff Target Version 0.9.4 => 0.9.3
2023-11-29 01:29 Christian Grothoff Fixed in Version => 0.9.3
2023-11-29 01:30 Christian Grothoff Status resolved => closed