You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this error is caused here, in triple-eye-effable, in UDCSL, or in resource-api. I've been able to see it on production as well as my local environment. I noticed it as a result of the error throwing introduced in performant-software/triple-eye-effable#6.
When trying to update a record, PUT using the UUID results in this error:
2:58:52 PM api.1 | Processing by Public::ResourcesController#update as */*
2:58:52 PM api.1 | Parameters: {"resource"=>{"project_id"=>"b4c66484-67a1-4680-a88c-699f9a9ca6d1", "name"=>"Medellín.pdf", "metadata"=>""}, "id"=>"5268a983-e7a0-45cd-b10f-8c4b555270de"}
2:58:52 PM api.1 | User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."api_key" = $1 LIMIT $2 [["api_key", "0f8c10e-dfd4-2136-bf1b-123f10d58ea"], ["LIMIT", 1]]
2:58:52 PM api.1 | ↳ app/controllers/public/resources_controller.rb:12:in `authenticate_request'
2:58:52 PM api.1 | Resource Load (0.2ms) SELECT "resources".* FROM "resources" WHERE "resources"."id" = $1 LIMIT $2 [["id", 5268], ["LIMIT", 1]]
2:58:52 PM api.1 | Completed 404 Not Found in 3ms (ActiveRecord: 0.4ms | Allocations: 1473)
2:58:52 PM api.1 | ActiveRecord::RecordNotFound (Couldn't find Resource with 'id'=5268a983-e7a0-45cd-b10f-8c4b555270de):
2:58:52 PM api.1 | activerecord (7.0.2.4) lib/active_record/core.rb:284:in `find'
2:58:52 PM api.1 | resource-api (54b103f2f1f3) app/controllers/api/resource_controller.rb:72:in `update'
Curiously, while this error silently happens in the background, the consuming application successfully pulls the record from the database and updates it.
The text was updated successfully, but these errors were encountered:
I'm not sure if this error is caused here, in
triple-eye-effable
, in UDCSL, or inresource-api
. I've been able to see it on production as well as my local environment. I noticed it as a result of the error throwing introduced in performant-software/triple-eye-effable#6.When trying to update a record, PUT using the UUID results in this error:
Curiously, while this error silently happens in the background, the consuming application successfully pulls the record from the database and updates it.
The text was updated successfully, but these errors were encountered: