AppwriteException - Transaction with the requested ID '696bda260c0fb0741f66' could not be found
- 0
- 2
- Functions
I am using "node-appwrite" module and I have successfully created transaction id but when passing it to tablesDB.createRow function with some other required data as shown in the screenshot attached, I have received the error response below. Any help? Thank you in advance. { data: null, error: { name: "AppwriteException", code: 404, type: "transaction_not_found", response: "{message:Transaction with the requested ID '696bda260c0fb0741f66' could not be found.,code:404,type:transaction_not_found,version:1.8.1}", }, }
did you create a transaction? Please share your full code for someone to be able to help
ok, here it is
yes, created a transaction and got its ID as shown in error response provided earlier
any more code to share ?
By the way, when transaction id usage is removed, the operation becomes successfull even though I am deliberately testing transactions API scenario for staging single database operations and apply them together.
when transaction id usage is removed Not sure what you mean by that
Try to verify you pass the correct transaction ID in the call that returns 404, it might be that the wrapper doesn't return the correct data
I mean if I don't make use of transactions API at all and remove the transactionId field from data being passed to createRow function, it works fine.
the definition of the wrapper function is there for you to see if it can cause such issue
but let me also do it the way you mentioned for verification purpose
did this way, still same issue !
<@564158268319203348> thank you, just did fresh small program as shown below and it worked.
will compare this working code vs my main project.
Recommended threads
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- Functions in cloud console not works
please advise as all of my runing functions on Appwrite console was working before , but now it give this error [Invalid `headers` param: Value must be a valid...
- [SOLVED] Production down - createExecuti...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...