Shaun McDonald
2010-05-02 19:28:05 UTC
Moving to the dev mailing list.
What is the request that you are sending to the API?
Are you using the test API at http://api06.dev.openstreetmap.org/ rather than production for the testing of your app?
Shaun
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100502/cdbec5a7/attachment.html>
What is the request that you are sending to the API?
Are you using the test API at http://api06.dev.openstreetmap.org/ rather than production for the testing of your app?
Shaun
Hi, I am currently testing a new POI editor I'm developing.
ActiveRecord::StatementInvalid: PGError: ERROR: insert or update on table "current_node_tags" violates foreign key constraint "current_node_tags_id_fkey"
DETAIL: Key (id)=(717587768) is not present in table "current_nodes".
: INSERT INTO "current_node_tags" ("k", "v", "id") VALUES(E'name', E'Caseratto', 717587768) RETURNING "id"
Does anyone know if it is a bug, or if there is any issue with adding POI through the API? If it is a bug, is there any workaround?
Thanks in advance,
Ignacio.
_______________________________________________
talk mailing list
talk at openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk
-------------- next part --------------ActiveRecord::StatementInvalid: PGError: ERROR: insert or update on table "current_node_tags" violates foreign key constraint "current_node_tags_id_fkey"
DETAIL: Key (id)=(717587768) is not present in table "current_nodes".
: INSERT INTO "current_node_tags" ("k", "v", "id") VALUES(E'name', E'Caseratto', 717587768) RETURNING "id"
Does anyone know if it is a bug, or if there is any issue with adding POI through the API? If it is a bug, is there any workaround?
Thanks in advance,
Ignacio.
_______________________________________________
talk mailing list
talk at openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100502/cdbec5a7/attachment.html>