Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot commit transaction: Missing transaction ID for this call. (code: 404) #36

Closed
lefeck opened this issue Jun 7, 2022 · 3 comments
Closed
Assignees

Comments

@lefeck
Copy link

lefeck commented Jun 7, 2022

Hello, I always get: "Unable to commit transaction: Missing transaction ID for this call. (Code: 404)" error when I create pools and members, however, in f5 ltm I can see that the data is uploaded, how to solve this problem ?

@gilliek gilliek self-assigned this Jun 7, 2022
@gilliek
Copy link
Member

gilliek commented Jun 7, 2022

Hello @asveg,

I just validated with our internal test suite and I did not encounter any issue with the transactions on the LTM part.

Can you provide me with some code snippet so that I can help you troubleshoot your code?

Given the information you provided so far, I think the problem is that you are not creating the objects within the transaction scope, that's why objects are created on the F5 and that's why the commit is not working, as there is no transaction ID. But it is hard to be 100% sure without your code.

In the package documentation, you have an example that explains how to use transactions: https://pkg.go.dev/github.com/e-XpertSolutions/f5-rest-client/f5#Client.Begin

@lefeck
Copy link
Author

lefeck commented Jun 7, 2022 via email

@gilliek
Copy link
Member

gilliek commented Jun 7, 2022

I am glad that you were able to solve the issue.

Thank you for the feedback.

@gilliek gilliek closed this as completed Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants